@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 was 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 was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateActivityResult |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the created activity.
|
CreateActivityResult |
withCreationDate(Date creationDate)
The date the activity was created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 was created.
creationDate - The date the activity was created.public Date getCreationDate()
The date the activity was created.
public CreateActivityResult withCreationDate(Date creationDate)
The date the activity was created.
creationDate - The date the activity was created.public String toString()
toString in class ObjectObject.toString()public CreateActivityResult clone()
Copyright © 2017. All rights reserved.