Interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>,SdkBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>,SdkPojo
- Enclosing class:
- AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails
public static interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builderdays(Integer days)The number of days that you want to specify for the default retention period.AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Buildermode(String mode)The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builderyears(Integer years)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, sdkFields
-
-
-
-
Method Detail
-
days
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder days(Integer 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
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder mode(String 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
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder years(Integer 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.
-
-