GetBucketLifecycleRuleCondition

data class GetBucketLifecycleRuleCondition(val age: Int, val createdBefore: String, val customTimeBefore: String, val daysSinceCustomTime: Int, val daysSinceNoncurrentTime: Int, val matchesPrefixes: List<String>, val matchesStorageClasses: List<String>, val matchesSuffixes: List<String>, val noAge: Boolean, val noncurrentTimeBefore: String, val numNewerVersions: Int, val withState: String)

Constructors

Link copied to clipboard
constructor(age: Int, createdBefore: String, customTimeBefore: String, daysSinceCustomTime: Int, daysSinceNoncurrentTime: Int, matchesPrefixes: List<String>, matchesStorageClasses: List<String>, matchesSuffixes: List<String>, noAge: Boolean, noncurrentTimeBefore: String, numNewerVersions: Int, withState: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val age: Int

Minimum age of an object in days to satisfy this condition.

Link copied to clipboard

Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.

Link copied to clipboard

Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.

Link copied to clipboard

Number of days elapsed since the user-specified timestamp set on an object.

Link copied to clipboard

Number of days elapsed since the noncurrent timestamp of an object. This condition is relevant only for versioned objects.

Link copied to clipboard

One or more matching name prefixes to satisfy this condition.

Link copied to clipboard

Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.

Link copied to clipboard

One or more matching name suffixes to satisfy this condition.

Link copied to clipboard

While set true, age value will be omitted.Required to set true when age is unset in the config file.

Link copied to clipboard

Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.

Link copied to clipboard

Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.

Link copied to clipboard

Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".