Interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder

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