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 ActivityTypeclone()booleanequals(Object obj)StringgetName()The name of this activity.StringgetVersion()The version of this activity.inthashCode()voidsetName(String name)The name of this activity.voidsetVersion(String version)The version of this activity.StringtoString()Returns a string representation of this object; useful for testing and debugging.ActivityTypewithName(String name)The name of this activity.ActivityTypewithVersion(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivityType clone()
-
-