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 WorkflowType
clone()
boolean
equals(Object obj)
String
getName()
Required. The name of the workflow type.String
getVersion()
Required. The version of the workflow type.int
hashCode()
void
setName(String name)
Required. The name of the workflow type.void
setVersion(String version)
Required. The version of the workflow type.String
toString()
Returns a string representation of this object; useful for testing and debugging.WorkflowType
withName(String name)
Required. The name of the workflow type.WorkflowType
withVersion(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowType clone()
-
-