Interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,
,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails> SdkBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,
,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails> SdkPojo
- Enclosing class:
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails
@Mutable
@NotThreadSafe
public static interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder
extends SdkPojo, CopyableBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of days that you want to specify for the default retention period.The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.The number of years that you want to specify for the default retention period.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
-
days
The number of days that you want to specify for the default retention period.
- Parameters:
days
- The number of days that you want to specify for the default retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
- Parameters:
mode
- The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
years
The number of years that you want to specify for the default retention period.
- Parameters:
years
- The number of years that you want to specify for the default retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-