BucketLifecycleRuleNoncurrentVersionTransitionArgs

data class BucketLifecycleRuleNoncurrentVersionTransitionArgs(val days: Output<Int>, val isAccessTime: Output<Boolean>? = null, val returnToStdWhenVisit: Output<Boolean>? = null, val storageClass: Output<String>) : ConvertibleToJava<BucketLifecycleRuleNoncurrentVersionTransitionArgs>

Constructors

constructor(days: Output<Int>, isAccessTime: Output<Boolean>? = null, returnToStdWhenVisit: Output<Boolean>? = null, storageClass: Output<String>)

Properties

Link copied to clipboard
val days: Output<Int>

Specifies the number of days noncurrent object versions transition.

Link copied to clipboard
val isAccessTime: Output<Boolean>? = null

Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

Link copied to clipboard
val returnToStdWhenVisit: Output<Boolean>? = null

Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

Link copied to clipboard
val storageClass: Output<String>

The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

Functions

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