@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowTypeInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a workflow type.
Constructor and Description |
---|
WorkflowTypeInfo() |
Modifier and Type | Method and Description |
---|---|
WorkflowTypeInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date when this type was registered.
|
Date |
getDeprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
|
String |
getDescription()
The description of the type registered through RegisterWorkflowType.
|
String |
getStatus()
The current status of the workflow type.
|
WorkflowType |
getWorkflowType()
The workflow type this information is about.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The date when this type was registered.
|
void |
setDeprecationDate(Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
|
void |
setDescription(String description)
The description of the type registered through RegisterWorkflowType.
|
void |
setStatus(RegistrationStatus status)
The current status of the workflow type.
|
void |
setStatus(String status)
The current status of the workflow type.
|
void |
setWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowTypeInfo |
withCreationDate(Date creationDate)
The date when this type was registered.
|
WorkflowTypeInfo |
withDeprecationDate(Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
|
WorkflowTypeInfo |
withDescription(String description)
The description of the type registered through RegisterWorkflowType.
|
WorkflowTypeInfo |
withStatus(RegistrationStatus status)
The current status of the workflow type.
|
WorkflowTypeInfo |
withStatus(String status)
The current status of the workflow type.
|
WorkflowTypeInfo |
withWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
|
public void setWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
workflowType
- The workflow type this information is about.public WorkflowType getWorkflowType()
The workflow type this information is about.
public WorkflowTypeInfo withWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
workflowType
- The workflow type this information is about.public void setStatus(String status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public String getStatus()
The current status of the workflow type.
RegistrationStatus
public WorkflowTypeInfo withStatus(String status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public void setStatus(RegistrationStatus status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public WorkflowTypeInfo withStatus(RegistrationStatus status)
The current status of the workflow type.
status
- The current status of the workflow type.RegistrationStatus
public void setDescription(String description)
The description of the type registered through RegisterWorkflowType.
description
- The description of the type registered through RegisterWorkflowType.public String getDescription()
The description of the type registered through RegisterWorkflowType.
public WorkflowTypeInfo withDescription(String description)
The description of the type registered through RegisterWorkflowType.
description
- The description of the type registered through RegisterWorkflowType.public void setCreationDate(Date creationDate)
The date when this type was registered.
creationDate
- The date when this type was registered.public Date getCreationDate()
The date when this type was registered.
public WorkflowTypeInfo withCreationDate(Date creationDate)
The date when this type was registered.
creationDate
- The date when this type was registered.public void setDeprecationDate(Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
deprecationDate
- If the type is in deprecated state, then it is set to the date when the type was deprecated.public Date getDeprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
public WorkflowTypeInfo withDeprecationDate(Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
deprecationDate
- If the type is in deprecated state, then it is set to the date when the type was deprecated.public String toString()
toString
in class Object
Object.toString()
public WorkflowTypeInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.