public class ActivityType extends Object implements Serializable, Cloneable
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 |
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.
|
public String getName()
Constraints:
Length: 1 - 256
public void setName(String name)
Constraints:
Length: 1 - 256
name
- The name of this activity. public ActivityType withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
name
- The name of this activity. public String getVersion()
Constraints:
Length: 1 - 64
public void setVersion(String version)
Constraints:
Length: 1 - 64
version
- The version of this activity. public ActivityType withVersion(String version)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
version
- The version of this activity. public String toString()
toString
in class Object
Object.toString()
public ActivityType clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.