@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Activity extends Object implements Serializable, Cloneable, StructuredPojo
Describes the activity information.
Constructor and Description |
---|
Activity() |
Modifier and Type | Method and Description |
---|---|
Activity |
clone() |
boolean |
equals(Object obj) |
CommentMetadata |
getCommentMetadata()
Metadata of the commenting activity.
|
UserMetadata |
getInitiator()
The user who performed the action.
|
String |
getOrganizationId()
The ID of the organization.
|
ResourceMetadata |
getOriginalParent()
The original parent of the resource.
|
Participants |
getParticipants()
The list of users or groups impacted by this action.
|
ResourceMetadata |
getResourceMetadata()
The metadata of the resource involved in the user action.
|
Date |
getTimeStamp()
The timestamp when the action was performed.
|
String |
getType()
The activity type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommentMetadata(CommentMetadata commentMetadata)
Metadata of the commenting activity.
|
void |
setInitiator(UserMetadata initiator)
The user who performed the action.
|
void |
setOrganizationId(String organizationId)
The ID of the organization.
|
void |
setOriginalParent(ResourceMetadata originalParent)
The original parent of the resource.
|
void |
setParticipants(Participants participants)
The list of users or groups impacted by this action.
|
void |
setResourceMetadata(ResourceMetadata resourceMetadata)
The metadata of the resource involved in the user action.
|
void |
setTimeStamp(Date timeStamp)
The timestamp when the action was performed.
|
void |
setType(ActivityType type)
The activity type.
|
void |
setType(String type)
The activity type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Activity |
withCommentMetadata(CommentMetadata commentMetadata)
Metadata of the commenting activity.
|
Activity |
withInitiator(UserMetadata initiator)
The user who performed the action.
|
Activity |
withOrganizationId(String organizationId)
The ID of the organization.
|
Activity |
withOriginalParent(ResourceMetadata originalParent)
The original parent of the resource.
|
Activity |
withParticipants(Participants participants)
The list of users or groups impacted by this action.
|
Activity |
withResourceMetadata(ResourceMetadata resourceMetadata)
The metadata of the resource involved in the user action.
|
Activity |
withTimeStamp(Date timeStamp)
The timestamp when the action was performed.
|
Activity |
withType(ActivityType type)
The activity type.
|
Activity |
withType(String type)
The activity type.
|
public void setType(String type)
The activity type.
type
- The activity type.ActivityType
public String getType()
The activity type.
ActivityType
public Activity withType(String type)
The activity type.
type
- The activity type.ActivityType
public void setType(ActivityType type)
The activity type.
type
- The activity type.ActivityType
public Activity withType(ActivityType type)
The activity type.
type
- The activity type.ActivityType
public void setTimeStamp(Date timeStamp)
The timestamp when the action was performed.
timeStamp
- The timestamp when the action was performed.public Date getTimeStamp()
The timestamp when the action was performed.
public Activity withTimeStamp(Date timeStamp)
The timestamp when the action was performed.
timeStamp
- The timestamp when the action was performed.public void setOrganizationId(String organizationId)
The ID of the organization.
organizationId
- The ID of the organization.public String getOrganizationId()
The ID of the organization.
public Activity withOrganizationId(String organizationId)
The ID of the organization.
organizationId
- The ID of the organization.public void setInitiator(UserMetadata initiator)
The user who performed the action.
initiator
- The user who performed the action.public UserMetadata getInitiator()
The user who performed the action.
public Activity withInitiator(UserMetadata initiator)
The user who performed the action.
initiator
- The user who performed the action.public void setParticipants(Participants participants)
The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
participants
- The list of users or groups impacted by this action. This is an optional field and is filled for the
following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED,
FOLDER_UNSHARED.public Participants getParticipants()
The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
public Activity withParticipants(Participants participants)
The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
participants
- The list of users or groups impacted by this action. This is an optional field and is filled for the
following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED,
FOLDER_UNSHARED.public void setResourceMetadata(ResourceMetadata resourceMetadata)
The metadata of the resource involved in the user action.
resourceMetadata
- The metadata of the resource involved in the user action.public ResourceMetadata getResourceMetadata()
The metadata of the resource involved in the user action.
public Activity withResourceMetadata(ResourceMetadata resourceMetadata)
The metadata of the resource involved in the user action.
resourceMetadata
- The metadata of the resource involved in the user action.public void setOriginalParent(ResourceMetadata originalParent)
The original parent of the resource. This is an optional field and is filled for move activities.
originalParent
- The original parent of the resource. This is an optional field and is filled for move activities.public ResourceMetadata getOriginalParent()
The original parent of the resource. This is an optional field and is filled for move activities.
public Activity withOriginalParent(ResourceMetadata originalParent)
The original parent of the resource. This is an optional field and is filled for move activities.
originalParent
- The original parent of the resource. This is an optional field and is filled for move activities.public void setCommentMetadata(CommentMetadata commentMetadata)
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
commentMetadata
- Metadata of the commenting activity. This is an optional field and is filled for commenting activities.public CommentMetadata getCommentMetadata()
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
public Activity withCommentMetadata(CommentMetadata commentMetadata)
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
commentMetadata
- Metadata of the commenting activity. This is an optional field and is filled for commenting activities.public String toString()
toString
in class Object
Object.toString()
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.