Interface S3Retention.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Retention.Builder,S3Retention>,SdkBuilder<S3Retention.Builder,S3Retention>,SdkPojo
- Enclosing class:
- S3Retention
public static interface S3Retention.Builder extends SdkPojo, CopyableBuilder<S3Retention.Builder,S3Retention>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3Retention.Buildermode(String mode)The Object Lock retention mode to be applied to all objects in the Batch Operations job.S3Retention.Buildermode(S3ObjectLockRetentionMode mode)The Object Lock retention mode to be applied to all objects in the Batch Operations job.S3Retention.BuilderretainUntilDate(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, sdkFields
-
-
-
-
Method Detail
-
retainUntilDate
S3Retention.Builder retainUntilDate(Instant 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
S3Retention.Builder mode(String 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:
S3ObjectLockRetentionMode,S3ObjectLockRetentionMode
-
mode
S3Retention.Builder mode(S3ObjectLockRetentionMode 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:
S3ObjectLockRetentionMode,S3ObjectLockRetentionMode
-
-