@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setName(String name)
The name of this activity.
name - The name of this activity. public String getName()
The name of this activity.
public ActivityType withName(String name)
The name of this activity.
name - The name of this activity. public void setVersion(String version)
The version of this activity.
version - The version of this activity. public String getVersion()
The version of this activity.
public ActivityType withVersion(String version)
The version of this activity.
version - The version of this activity. public String toString()
toString in class ObjectObject.toString()public ActivityType clone()
Copyright © 2017. All rights reserved.