@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 is 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 is created.
|
void |
setName(String name)
The name of the activity.
|
String |
toString()
Returns a string representation of this object.
|
ActivityListItem |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) that identifies the activity.
|
ActivityListItem |
withCreationDate(Date creationDate)
The date the activity is 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:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
name
- The name of the activity.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
public String getName()
The name of the activity.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
public ActivityListItem withName(String name)
The name of the activity.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
name
- The name of the activity.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
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 ActivityListItem 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 ActivityListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.