BucketLifecycleRuleTransition

data class BucketLifecycleRuleTransition(val createdBeforeDate: String? = null, val days: Int? = null, val storageClass: String? = null)

Constructors

Link copied to clipboard
fun BucketLifecycleRuleTransition(createdBeforeDate: String? = null, days: Int? = null, storageClass: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that objects updated before 2002-10-11T00:00:00.000Z are deleted or converted to another storage class, and objects updated after this time (including this time) are not deleted or converted.

Link copied to clipboard
val days: Int? = null

Specifies the number of days after object creation when the specific rule action takes effect.

Link copied to clipboard
val storageClass: String? = null

The storage class to apply. Can be "Standard", "IA" and "Archive". Defaults to "Standard".