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 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.