Class WorkflowTypeInfo
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.WorkflowTypeInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class WorkflowTypeInfo extends Object implements Serializable, Cloneable
Contains information about a workflow type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowTypeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTypeInfoclone()booleanequals(Object obj)DategetCreationDate()The date when this type was registered.DategetDeprecationDate()If the type is in deprecated state, then it is set to the date when the type was deprecated.StringgetDescription()The description of the type registered through RegisterWorkflowType.StringgetStatus()The current status of the workflow type.WorkflowTypegetWorkflowType()The workflow type this information is about.inthashCode()voidsetCreationDate(Date creationDate)The date when this type was registered.voidsetDeprecationDate(Date deprecationDate)If the type is in deprecated state, then it is set to the date when the type was deprecated.voidsetDescription(String description)The description of the type registered through RegisterWorkflowType.voidsetStatus(RegistrationStatus status)The current status of the workflow type.voidsetStatus(String status)The current status of the workflow type.voidsetWorkflowType(WorkflowType workflowType)The workflow type this information is about.StringtoString()Returns a string representation of this object; useful for testing and debugging.WorkflowTypeInfowithCreationDate(Date creationDate)The date when this type was registered.WorkflowTypeInfowithDeprecationDate(Date deprecationDate)If the type is in deprecated state, then it is set to the date when the type was deprecated.WorkflowTypeInfowithDescription(String description)The description of the type registered through RegisterWorkflowType.WorkflowTypeInfowithStatus(RegistrationStatus status)The current status of the workflow type.WorkflowTypeInfowithStatus(String status)The current status of the workflow type.WorkflowTypeInfowithWorkflowType(WorkflowType workflowType)The workflow type this information is about.
-
-
-
Method Detail
-
setWorkflowType
public void setWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
- Parameters:
workflowType- The workflow type this information is about.
-
getWorkflowType
public WorkflowType getWorkflowType()
The workflow type this information is about.
- Returns:
- The workflow type this information is about.
-
withWorkflowType
public WorkflowTypeInfo withWorkflowType(WorkflowType workflowType)
The workflow type this information is about.
- Parameters:
workflowType- The workflow type this information is about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The current status of the workflow type.
- Parameters:
status- The current status of the workflow type.- See Also:
RegistrationStatus
-
getStatus
public String getStatus()
The current status of the workflow type.
- Returns:
- The current status of the workflow type.
- See Also:
RegistrationStatus
-
withStatus
public WorkflowTypeInfo withStatus(String status)
The current status of the workflow type.
- Parameters:
status- The current status of the workflow type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationStatus
-
setStatus
public void setStatus(RegistrationStatus status)
The current status of the workflow type.
- Parameters:
status- The current status of the workflow type.- See Also:
RegistrationStatus
-
withStatus
public WorkflowTypeInfo withStatus(RegistrationStatus status)
The current status of the workflow type.
- Parameters:
status- The current status of the workflow type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationStatus
-
setDescription
public void setDescription(String description)
The description of the type registered through RegisterWorkflowType.
- Parameters:
description- The description of the type registered through RegisterWorkflowType.
-
getDescription
public String getDescription()
The description of the type registered through RegisterWorkflowType.
- Returns:
- The description of the type registered through RegisterWorkflowType.
-
withDescription
public WorkflowTypeInfo withDescription(String description)
The description of the type registered through RegisterWorkflowType.
- Parameters:
description- The description of the type registered through RegisterWorkflowType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
public void setCreationDate(Date creationDate)
The date when this type was registered.
- Parameters:
creationDate- The date when this type was registered.
-
getCreationDate
public Date getCreationDate()
The date when this type was registered.
- Returns:
- The date when this type was registered.
-
withCreationDate
public WorkflowTypeInfo withCreationDate(Date creationDate)
The date when this type was registered.
- Parameters:
creationDate- The date when this type was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeprecationDate
public void setDeprecationDate(Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Parameters:
deprecationDate- If the type is in deprecated state, then it is set to the date when the type was deprecated.
-
getDeprecationDate
public Date getDeprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Returns:
- If the type is in deprecated state, then it is set to the date when the type was deprecated.
-
withDeprecationDate
public WorkflowTypeInfo withDeprecationDate(Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Parameters:
deprecationDate- If the type is in deprecated state, then it is set to the date when the type was deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowTypeInfo clone()
-
-