BucketObjectLockConfigurationV2RuleDefaultRetentionArgs

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

Constructors

constructor(days: Output<Int>? = null, mode: Output<String>? = null, 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>? = 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: 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(): BucketObjectLockConfigurationV2RuleDefaultRetentionArgs