@Generated(value="software.amazon.awssdk:codegen") public final class S3SetObjectRetentionOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3SetObjectRetentionOperation.Builder,S3SetObjectRetentionOperation>
Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch
Operations passes every object to the underlying PutObjectRetention API. For more information, see Using S3 Object Lock retention
with S3 Batch Operations in the Amazon Simple Storage Service User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3SetObjectRetentionOperation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static S3SetObjectRetentionOperation.Builder |
builder() |
Boolean |
bypassGovernanceRetention()
Indicates if the action should be applied to objects in the Batch Operations job even if they have Object Lock
GOVERNANCE type in place. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3Retention |
retention()
Contains the Object Lock retention mode to be applied to all objects in the Batch Operations job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3SetObjectRetentionOperation.Builder> |
serializableBuilderClass() |
S3SetObjectRetentionOperation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean bypassGovernanceRetention()
Indicates if the action should be applied to objects in the Batch Operations job even if they have Object Lock
GOVERNANCE type in place.
GOVERNANCE type in place.public final S3Retention retention()
Contains the Object Lock retention mode to be applied to all objects in the Batch Operations job. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon Simple Storage Service User Guide.
public S3SetObjectRetentionOperation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3SetObjectRetentionOperation.Builder,S3SetObjectRetentionOperation>public static S3SetObjectRetentionOperation.Builder builder()
public static Class<? extends S3SetObjectRetentionOperation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.