Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowTypeInfo

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.WorkflowTypeInfo
All Implemented Interfaces:
java.io.Serializable

public class WorkflowTypeInfo
extends java.lang.Object
implements java.io.Serializable

Contains information about a workflow type.

See Also:
Serialized Form

Constructor Summary
WorkflowTypeInfo()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreationDate()
          The date when this type was registered.
 java.util.Date getDeprecationDate()
          If the type is in deprecated state, then it is set to the date when the type was deprecated.
 java.lang.String getDescription()
          The description of the type registered through RegisterWorkflowType.
 java.lang.String getStatus()
          The current status of the workflow type.
 WorkflowType getWorkflowType()
          The workflow type this information is about.
 int hashCode()
           
 void setCreationDate(java.util.Date creationDate)
          The date when this type was registered.
 void setDeprecationDate(java.util.Date deprecationDate)
          If the type is in deprecated state, then it is set to the date when the type was deprecated.
 void setDescription(java.lang.String description)
          The description of the type registered through RegisterWorkflowType.
 void setStatus(RegistrationStatus status)
          The current status of the workflow type.
 void setStatus(java.lang.String status)
          The current status of the workflow type.
 void setWorkflowType(WorkflowType workflowType)
          The workflow type this information is about.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowTypeInfo withCreationDate(java.util.Date creationDate)
          The date when this type was registered.
 WorkflowTypeInfo withDeprecationDate(java.util.Date deprecationDate)
          If the type is in deprecated state, then it is set to the date when the type was deprecated.
 WorkflowTypeInfo withDescription(java.lang.String description)
          The description of the type registered through RegisterWorkflowType.
 WorkflowTypeInfo withStatus(RegistrationStatus status)
          The current status of the workflow type.
 WorkflowTypeInfo withStatus(java.lang.String status)
          The current status of the workflow type.
 WorkflowTypeInfo withWorkflowType(WorkflowType workflowType)
          The workflow type this information is about.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowTypeInfo

public WorkflowTypeInfo()
Method Detail

getWorkflowType

public WorkflowType getWorkflowType()
The workflow type this information is about.

Returns:
The workflow type this information is about.

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)
The workflow type this information is about.

Parameters:
workflowType - The workflow type this information is about.

withWorkflowType

public WorkflowTypeInfo withWorkflowType(WorkflowType workflowType)
The workflow type this information is about.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowType - The workflow type this information is about.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public java.lang.String getStatus()
The current status of the workflow type.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Returns:
The current status of the workflow type.
See Also:
RegistrationStatus

setStatus

public void setStatus(java.lang.String status)
The current status of the workflow type.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The current status of the workflow type.
See Also:
RegistrationStatus

withStatus

public WorkflowTypeInfo withStatus(java.lang.String status)
The current status of the workflow type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The current status of the workflow type.
Returns:
A reference to this updated 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.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The current status of the workflow type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

getDescription

public java.lang.String getDescription()
The description of the type registered through RegisterWorkflowType.

Constraints:
Length: 0 - 1024

Returns:
The description of the type registered through RegisterWorkflowType.

setDescription

public void setDescription(java.lang.String description)
The description of the type registered through RegisterWorkflowType.

Constraints:
Length: 0 - 1024

Parameters:
description - The description of the type registered through RegisterWorkflowType.

withDescription

public WorkflowTypeInfo withDescription(java.lang.String description)
The description of the type registered through RegisterWorkflowType.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024

Parameters:
description - The description of the type registered through RegisterWorkflowType.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreationDate

public java.util.Date getCreationDate()
The date when this type was registered.

Returns:
The date when this type was registered.

setCreationDate

public void setCreationDate(java.util.Date creationDate)
The date when this type was registered.

Parameters:
creationDate - The date when this type was registered.

withCreationDate

public WorkflowTypeInfo withCreationDate(java.util.Date creationDate)
The date when this type was registered.

Returns a reference to this object so that method calls can be chained together.

Parameters:
creationDate - The date when this type was registered.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeprecationDate

public java.util.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.

setDeprecationDate

public void setDeprecationDate(java.util.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.

withDeprecationDate

public WorkflowTypeInfo withDeprecationDate(java.util.Date deprecationDate)
If the type is in deprecated state, then it is set to the date when the type was deprecated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deprecationDate - If the type is in deprecated state, then it is set to the date when the type was deprecated.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.