BucketObjectLockConfigurationRuleDefaultRetentionArgs

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

Constructors

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

Functions

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

Properties

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

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

Link copied to clipboard
val mode: Output<String>

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: Output<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.