@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityType extends Object implements Serializable, Cloneable, StructuredPojo
Represents an activity type.
Constructor and Description |
---|
ActivityType() |
Modifier and Type | Method and Description |
---|---|
ActivityType |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of this activity.
|
String |
getVersion()
The version of this activity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
ActivityType |
withName(String name)
The name of this activity.
|
ActivityType |
withVersion(String version)
The version of this activity.
|
public void setName(String name)
The name of this activity.
The combination of activity type name and version must be unique within a domain.
name
- The name of this activity. The combination of activity type name and version must be unique within a domain.
public String getName()
The name of this activity.
The combination of activity type name and version must be unique within a domain.
The combination of activity type name and version must be unique within a domain.
public ActivityType withName(String name)
The name of this activity.
The combination of activity type name and version must be unique within a domain.
name
- The name of this activity. The combination of activity type name and version must be unique within a domain.
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.
version
- The version of this activity. The combination of activity type name and version must be unique with in a domain.
public String getVersion()
The version of this activity.
The combination of activity type name and version must be unique with in a domain.
The combination of activity type name and version must be unique with in a domain.
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.
version
- The version of this activity. The combination of activity type name and version must be unique with in a domain.
public String toString()
toString
in class Object
Object.toString()
public ActivityType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.