BucketObjectLockConfigurationRuleDefaultRetention

data class BucketObjectLockConfigurationRuleDefaultRetention(val days: Int? = null, val mode: String, val years: Int? = null)

Constructors

constructor(days: Int? = null, mode: String, years: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val days: Int? = null

The number of days that you want to specify for the default retention period.

Link copied to clipboard

The default Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values are GOVERNANCE and COMPLIANCE.

Link copied to clipboard
val years: Int? = null

The number of years that you want to specify for the default retention period. Either days or years must be specified, but not both.