Class WorkflowTypeDetail

java.lang.Object
com.amazonaws.services.simpleworkflow.model.WorkflowTypeDetail
All Implemented Interfaces:
Serializable, Cloneable

public class WorkflowTypeDetail extends Object implements Serializable, Cloneable

Contains details about a workflow type.

See Also:
  • Constructor Details

    • WorkflowTypeDetail

      public WorkflowTypeDetail()
  • Method Details

    • setTypeInfo

      public void setTypeInfo(WorkflowTypeInfo typeInfo)

      General information about the workflow type.

      The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
      Parameters:
      typeInfo - General information about the workflow type.

      The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
    • getTypeInfo

      public WorkflowTypeInfo getTypeInfo()

      General information about the workflow type.

      The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
      Returns:
      General information about the workflow type.

      The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
    • withTypeInfo

      public WorkflowTypeDetail withTypeInfo(WorkflowTypeInfo typeInfo)

      General information about the workflow type.

      The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
      Parameters:
      typeInfo - General information about the workflow type.

      The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setConfiguration

      public void setConfiguration(WorkflowTypeConfiguration configuration)

      Configuration settings of the workflow type registered through RegisterWorkflowType

      Parameters:
      configuration - Configuration settings of the workflow type registered through RegisterWorkflowType
    • getConfiguration

      public WorkflowTypeConfiguration getConfiguration()

      Configuration settings of the workflow type registered through RegisterWorkflowType

      Returns:
      Configuration settings of the workflow type registered through RegisterWorkflowType
    • withConfiguration

      public WorkflowTypeDetail withConfiguration(WorkflowTypeConfiguration configuration)

      Configuration settings of the workflow type registered through RegisterWorkflowType

      Parameters:
      configuration - Configuration settings of the workflow type registered through RegisterWorkflowType
      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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public WorkflowTypeDetail clone()
      Overrides:
      clone in class Object