@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeActivityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeActivityResult() |
Modifier and Type | Method and Description |
---|---|
DescribeActivityResult |
clone() |
boolean |
equals(Object obj) |
String |
getActivityArn()
The Amazon Resource Name (ARN) that identifies the activity.
|
Date |
getCreationDate()
The date the activity was created.
|
String |
getName()
The name of the activity.
|
int |
hashCode() |
void |
setActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the activity.
|
void |
setCreationDate(Date creationDate)
The date the activity was created.
|
void |
setName(String name)
The name of the activity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeActivityResult |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the activity.
|
DescribeActivityResult |
withCreationDate(Date creationDate)
The date the activity was created.
|
DescribeActivityResult |
withName(String name)
The name of the activity.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the activity.
activityArn
- The Amazon Resource Name (ARN) that identifies the activity.public String getActivityArn()
The Amazon Resource Name (ARN) that identifies the activity.
public DescribeActivityResult withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the activity.
activityArn
- The Amazon Resource Name (ARN) that identifies the activity.public void setName(String name)
The name of the activity.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the activity.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public String getName()
The name of the activity.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public DescribeActivityResult withName(String name)
The name of the activity.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the activity.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
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 DescribeActivityResult withCreationDate(Date creationDate)
The date the activity was created.
creationDate
- The date the activity was created.public String toString()
toString
in class Object
Object.toString()
public DescribeActivityResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.