public static final class Bucket.Lifecycle.Rule.Condition extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Bucket.Lifecycle.Rule.Condition() |
Modifier and Type | Method and Description |
---|---|
Integer |
getAge()
Age of an object (in days).
|
DateTime |
getCreatedBefore()
A date in RFC 3339 format with only the date part, e.g.
|
Boolean |
getIsLive()
Relevant only for versioned objects.
|
Integer |
getNumNewerVersions()
Relevant only for versioned objects.
|
Bucket.Lifecycle.Rule.Condition |
setAge(Integer age)
Age of an object (in days).
|
Bucket.Lifecycle.Rule.Condition |
setCreatedBefore(DateTime createdBefore)
A date in RFC 3339 format with only the date part, e.g.
|
Bucket.Lifecycle.Rule.Condition |
setIsLive(Boolean isLive)
Relevant only for versioned objects.
|
Bucket.Lifecycle.Rule.Condition |
setNumNewerVersions(Integer numNewerVersions)
Relevant only for versioned objects.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getAge()
null
.public Bucket.Lifecycle.Rule.Condition setAge(Integer age)
null
.public DateTime getCreatedBefore()
null
.public Bucket.Lifecycle.Rule.Condition setCreatedBefore(DateTime createdBefore)
null
.public Boolean getIsLive()
null
.public Bucket.Lifecycle.Rule.Condition setIsLive(Boolean isLive)
null
.public Integer getNumNewerVersions()
null
.public Bucket.Lifecycle.Rule.Condition setNumNewerVersions(Integer numNewerVersions)
null
.