@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateActivityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateActivityResult() |
Modifier and Type | Method and Description |
---|---|
CreateActivityResult |
clone() |
boolean |
equals(Object obj) |
String |
getActivityArn()
The Amazon Resource Name (ARN) that identifies the created activity.
|
Date |
getCreationDate()
The date the activity is created.
|
int |
hashCode() |
void |
setActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the created activity.
|
void |
setCreationDate(Date creationDate)
The date the activity is created.
|
String |
toString()
Returns a string representation of this object.
|
CreateActivityResult |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the created activity.
|
CreateActivityResult |
withCreationDate(Date creationDate)
The date the activity is created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the created activity.
activityArn
- The Amazon Resource Name (ARN) that identifies the created activity.public String getActivityArn()
The Amazon Resource Name (ARN) that identifies the created activity.
public CreateActivityResult withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the created activity.
activityArn
- The Amazon Resource Name (ARN) that identifies the created activity.public void setCreationDate(Date creationDate)
The date the activity is created.
creationDate
- The date the activity is created.public Date getCreationDate()
The date the activity is created.
public CreateActivityResult withCreationDate(Date creationDate)
The date the activity is created.
creationDate
- The date the activity is created.public String toString()
toString
in class Object
Object.toString()
public CreateActivityResult clone()