@Generated(value="software.amazon.awssdk:codegen") public class Activity extends Object implements StructuredPojo, ToCopyableBuilder<Activity.Builder,Activity>
Describes the activity information.
Modifier and Type | Class and Description |
---|---|
static interface |
Activity.Builder |
Modifier and Type | Method and Description |
---|---|
static Activity.Builder |
builder() |
CommentMetadata |
commentMetadata()
Metadata of the commenting activity.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
UserMetadata |
initiator()
The user who performed the action.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
organizationId()
The ID of the organization.
|
ResourceMetadata |
originalParent()
The original parent of the resource.
|
Participants |
participants()
The list of users or groups impacted by this action.
|
ResourceMetadata |
resourceMetadata()
The metadata of the resource involved in the user action.
|
static Class<? extends Activity.Builder> |
serializableBuilderClass() |
Instant |
timeStamp()
The timestamp when the action was performed.
|
Activity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ActivityType |
type()
The activity type.
|
String |
typeString()
The activity type.
|
copy
public ActivityType type()
The activity type.
If the service returns an enum value that is not available in the current SDK version, type
will return
ActivityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
ActivityType
public String typeString()
The activity type.
If the service returns an enum value that is not available in the current SDK version, type
will return
ActivityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
ActivityType
public Instant timeStamp()
The timestamp when the action was performed.
public String organizationId()
The ID of the organization.
public UserMetadata initiator()
The user who performed the action.
public 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.
public ResourceMetadata resourceMetadata()
The metadata of the resource involved in the user action.
public ResourceMetadata originalParent()
The original parent of the resource. This is an optional field and is filled for move activities.
public CommentMetadata commentMetadata()
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
public Activity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Activity.Builder,Activity>
public static Activity.Builder builder()
public static Class<? extends Activity.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.