CopyableBuilder<Activity.Builder,Activity>
, SdkBuilder<Activity.Builder,Activity>
public static interface Activity.Builder extends CopyableBuilder<Activity.Builder,Activity>
Modifier and Type | Method | Description |
---|---|---|
Activity.Builder |
commentMetadata(CommentMetadata commentMetadata) |
Metadata of the commenting activity.
|
Activity.Builder |
initiator(UserMetadata initiator) |
The user who performed the action.
|
Activity.Builder |
organizationId(String organizationId) |
The ID of the organization.
|
Activity.Builder |
originalParent(ResourceMetadata originalParent) |
The original parent of the resource.
|
Activity.Builder |
participants(Participants participants) |
The list of users or groups impacted by this action.
|
Activity.Builder |
resourceMetadata(ResourceMetadata resourceMetadata) |
The metadata of the resource involved in the user action.
|
Activity.Builder |
timeStamp(Date timeStamp) |
The timestamp when the action was performed.
|
Activity.Builder |
type(String type) |
The activity type.
|
Activity.Builder |
type(ActivityType type) |
The activity type.
|
copy
apply, build
Activity.Builder type(String type)
The activity type.
type
- The activity type.ActivityType
Activity.Builder type(ActivityType type)
The activity type.
type
- The activity type.ActivityType
Activity.Builder timeStamp(Date timeStamp)
The timestamp when the action was performed.
timeStamp
- The timestamp when the action was performed.Activity.Builder organizationId(String organizationId)
The ID of the organization.
organizationId
- The ID of the organization.Activity.Builder initiator(UserMetadata initiator)
The user who performed the action.
initiator
- The user who performed the action.Activity.Builder participants(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.Activity.Builder resourceMetadata(ResourceMetadata resourceMetadata)
The metadata of the resource involved in the user action.
resourceMetadata
- The metadata of the resource involved in the user action.Activity.Builder originalParent(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.Activity.Builder commentMetadata(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.