Class ActivityType
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.ActivityType
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActivityType extends Object implements Serializable, Cloneable
Represents an activity type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityType
clone()
boolean
equals(Object obj)
String
getName()
The name of this activity.String
getVersion()
The version of this activity.int
hashCode()
void
setName(String name)
The name of this activity.void
setVersion(String version)
The version of this activity.String
toString()
Returns a string representation of this object; useful for testing and debugging.ActivityType
withName(String name)
The name of this activity.ActivityType
withVersion(String version)
The version of this activity.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of this activity.
The combination of activity type name and version must be unique within a domain. - Parameters:
name
- The name of this activity.The combination of activity type name and version must be unique within a domain.
-
getName
public String getName()
The name of this activity.
The combination of activity type name and version must be unique within a domain. - Returns:
- The name of this activity.
The combination of activity type name and version must be unique within a domain.
-
withName
public ActivityType withName(String name)
The name of this activity.
The combination of activity type name and version must be unique within a domain. - Parameters:
name
- The name of this activity.The combination of activity type name and version must be unique within a domain. - Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(String version)
The version of this activity.
The combination of activity type name and version must be unique with in a domain. - Parameters:
version
- The version of this activity.The combination of activity type name and version must be unique with in a domain.
-
getVersion
public String getVersion()
The version of this activity.
The combination of activity type name and version must be unique with in a domain. - Returns:
- The version of this activity.
The combination of activity type name and version must be unique with in a domain.
-
withVersion
public ActivityType withVersion(String version)
The version of this activity.
The combination of activity type name and version must be unique with in a domain. - Parameters:
version
- The version of this activity.The combination of activity type name and version must be unique with in a domain. - 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 ActivityType clone()
-
-