BucketObjectLockConfigurationV2RuleDefaultRetention

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val days: Int? = null

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

Link copied to clipboard
val mode: String? = null

Default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Valid values: COMPLIANCE, GOVERNANCE.

Link copied to clipboard
val years: Int? = null

Number of years that you want to specify for the default retention period.