@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityListItem extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an activity.
Constructor and Description |
---|
ActivityListItem() |
Modifier and Type | Method and Description |
---|---|
ActivityListItem |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
ActivityListItem |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the activity.
|
ActivityListItem |
withCreationDate(Date creationDate)
The date the activity was created.
|
ActivityListItem |
withName(String name)
The name of the activity.
|
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 ActivityListItem 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 ActivityListItem 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 ActivityListItem 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 ActivityListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.