public static interface S3SetObjectRetentionOperation.Builder extends SdkPojo, CopyableBuilder<S3SetObjectRetentionOperation.Builder,S3SetObjectRetentionOperation>
| Modifier and Type | Method and Description |
|---|---|
S3SetObjectRetentionOperation.Builder |
bypassGovernanceRetention(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. |
default S3SetObjectRetentionOperation.Builder |
retention(Consumer<S3Retention.Builder> retention)
Contains the Object Lock retention mode to be applied to all objects in the Batch Operations job.
|
S3SetObjectRetentionOperation.Builder |
retention(S3Retention retention)
Contains the Object Lock retention mode to be applied to all objects in the Batch Operations job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3SetObjectRetentionOperation.Builder bypassGovernanceRetention(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.
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.S3SetObjectRetentionOperation.Builder retention(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.
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.default S3SetObjectRetentionOperation.Builder retention(Consumer<S3Retention.Builder> 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.
This is a convenience that creates an instance of theS3Retention.Builder avoiding the need to create
one manually via S3Retention.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to retention(S3Retention).retention - a consumer that will call methods on S3Retention.Builderretention(S3Retention)Copyright © 2021. All rights reserved.