Class WorkflowType

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

public class WorkflowType extends Object implements Serializable, Cloneable

Represents a workflow type.

See Also:
  • Constructor Details

    • WorkflowType

      public WorkflowType()
  • Method Details

    • setName

      public void setName(String name)

      Required. The name of the workflow type.

      The combination of workflow type name and version must be unique with in a domain.
      Parameters:
      name - Required. The name of the workflow type.

    • getName

      public String getName()

      Required. The name of the workflow type.

      The combination of workflow type name and version must be unique with in a domain.
      Returns:
      Required. The name of the workflow type.

    • withName

      public WorkflowType withName(String name)

      Required. The name of the workflow type.

      The combination of workflow type name and version must be unique with in a domain.
      Parameters:
      name - Required. The name of the workflow type.

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

      public void setVersion(String version)

      Required. The version of the workflow type.

      The combination of workflow type name and version must be unique with in a domain.
      Parameters:
      version - Required. The version of the workflow type.

    • getVersion

      public String getVersion()

      Required. The version of the workflow type.

      The combination of workflow type name and version must be unique with in a domain.
      Returns:
      Required. The version of the workflow type.

    • withVersion

      public WorkflowType withVersion(String version)

      Required. The version of the workflow type.

      The combination of workflow type name and version must be unique with in a domain.
      Parameters:
      version - Required. The version of the workflow type.

      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 WorkflowType clone()
      Overrides:
      clone in class Object