public class WorkflowTypeInfo extends Object implements Serializable, Cloneable
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 |
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; useful for testing and
debugging.
|
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 WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType - The workflow type this information is about.public WorkflowTypeInfo withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType - The workflow type this information is about.public String getStatus()
Constraints:
Allowed Values: REGISTERED, DEPRECATED
RegistrationStatuspublic void setStatus(String status)
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status - The current status of the workflow type.RegistrationStatuspublic WorkflowTypeInfo withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status - The current status of the workflow type.RegistrationStatuspublic void setStatus(RegistrationStatus status)
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status - The current status of the workflow type.RegistrationStatuspublic WorkflowTypeInfo withStatus(RegistrationStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status - The current status of the workflow type.RegistrationStatuspublic String getDescription()
Constraints:
Length: 0 - 1024
public void setDescription(String description)
Constraints:
Length: 0 - 1024
description - The description of the type registered through
RegisterWorkflowType.public WorkflowTypeInfo withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
description - The description of the type registered through
RegisterWorkflowType.public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - The date when this type was registered.public WorkflowTypeInfo withCreationDate(Date creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The date when this type was registered.public Date getDeprecationDate()
public void setDeprecationDate(Date deprecationDate)
deprecationDate - If the type is in deprecated state, then it is set to the date when
the type was deprecated.public WorkflowTypeInfo withDeprecationDate(Date deprecationDate)
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()public WorkflowTypeInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.