Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowType

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

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

Represents a workflow type.

See Also:
Serialized Form

Constructor Summary
WorkflowType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          The name of the workflow type.
 java.lang.String getVersion()
          The version of the workflow type.
 int hashCode()
           
 void setName(java.lang.String name)
          The name of the workflow type.
 void setVersion(java.lang.String version)
          The version of the workflow type.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowType withName(java.lang.String name)
          The name of the workflow type.
 WorkflowType withVersion(java.lang.String version)
          The version of the workflow type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowType

public WorkflowType()
Method Detail

getName

public java.lang.String getName()
The name of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

Constraints:
Length: 1 - 256

Returns:
The name of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

setName

public void setName(java.lang.String name)
The name of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

Constraints:
Length: 1 - 256

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

withName

public WorkflowType withName(java.lang.String name)
The name of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

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

Constraints:
Length: 1 - 256

Parameters:
name - The name of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.
Returns:
A reference to this updated object so that method calls can be chained together.

getVersion

public java.lang.String getVersion()
The version of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

Constraints:
Length: 1 - 64

Returns:
The version of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

setVersion

public void setVersion(java.lang.String version)
The version of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

Constraints:
Length: 1 - 64

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

withVersion

public WorkflowType withVersion(java.lang.String version)
The version of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.

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

Constraints:
Length: 1 - 64

Parameters:
version - The version of the workflow type. This field is required. The combination of workflow type name and version must be unique with in a domain.
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.