SpacesBucketLifecycleRuleExpiration

data class SpacesBucketLifecycleRuleExpiration(val date: String? = null, val days: Int? = null, val expiredObjectDeleteMarker: Boolean? = null)

Constructors

Link copied to clipboard
constructor(date: String? = null, days: Int? = null, expiredObjectDeleteMarker: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val date: String? = null

Specifies the date/time after which you want applicable objects to expire. The argument uses RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".

Link copied to clipboard
val days: Int? = null

Specifies the number of days after object creation when the applicable objects will expire.

Link copied to clipboard

On a versioned bucket (versioning-enabled or versioning-suspended bucket), setting this to true directs Spaces to delete expired object delete markers.