Interface S3Retention.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3Retention.Builder,
,S3Retention> SdkBuilder<S3Retention.Builder,
,S3Retention> SdkPojo
- Enclosing class:
S3Retention
@Mutable
@NotThreadSafe
public static interface S3Retention.Builder
extends SdkPojo, CopyableBuilder<S3Retention.Builder,S3Retention>
-
Method Summary
Modifier and TypeMethodDescriptionThe Object Lock retention mode to be applied to all objects in the Batch Operations job.The Object Lock retention mode to be applied to all objects in the Batch Operations job.retainUntilDate
(Instant retainUntilDate) The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
retainUntilDate
The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.
- Parameters:
retainUntilDate
- The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The Object Lock retention mode to be applied to all objects in the Batch Operations job.
- Parameters:
mode
- The Object Lock retention mode to be applied to all objects in the Batch Operations job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The Object Lock retention mode to be applied to all objects in the Batch Operations job.
- Parameters:
mode
- The Object Lock retention mode to be applied to all objects in the Batch Operations job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-