BucketV2ObjectLockConfigurationRuleDefaultRetentionArgs

data class BucketV2ObjectLockConfigurationRuleDefaultRetentionArgs(val days: Output<Int>? = null, val mode: Output<String>, val years: Output<Int>? = null) : ConvertibleToJava<BucketV2ObjectLockConfigurationRuleDefaultRetentionArgs>

Constructors

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

Properties

Link copied to clipboard
val days: Output<Int>? = null

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

Link copied to clipboard
val mode: Output<String>

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: Output<Int>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): BucketV2ObjectLockConfigurationRuleDefaultRetentionArgs