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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTypeclone()booleanequals(Object obj)StringgetName()Required. The name of the workflow type.StringgetVersion()Required. The version of the workflow type.inthashCode()voidsetName(String name)Required. The name of the workflow type.voidsetVersion(String version)Required. The version of the workflow type.StringtoString()Returns a string representation of this object; useful for testing and debugging.WorkflowTypewithName(String name)Required. The name of the workflow type.WorkflowTypewithVersion(String version)Required. The version of the workflow type.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowType clone()
-
-