public static final class Bucket.Lifecycle.Rule extends GenericJson
Modifier and Type | Class and Description |
---|---|
static class |
Bucket.Lifecycle.Rule.Action
The action to take.
|
static class |
Bucket.Lifecycle.Rule.Condition
The condition(s) under which the action will be taken.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Bucket.Lifecycle.Rule() |
Modifier and Type | Method and Description |
---|---|
Bucket.Lifecycle.Rule |
clone() |
Bucket.Lifecycle.Rule.Action |
getAction()
The action to take.
|
Bucket.Lifecycle.Rule.Condition |
getCondition()
The condition(s) under which the action will be taken.
|
Bucket.Lifecycle.Rule |
set(String fieldName,
Object value) |
Bucket.Lifecycle.Rule |
setAction(Bucket.Lifecycle.Rule.Action action)
The action to take.
|
Bucket.Lifecycle.Rule |
setCondition(Bucket.Lifecycle.Rule.Condition condition)
The condition(s) under which the action will be taken.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Bucket.Lifecycle.Rule.Action getAction()
null
for nonepublic Bucket.Lifecycle.Rule setAction(Bucket.Lifecycle.Rule.Action action)
action
- action or null
for nonepublic Bucket.Lifecycle.Rule.Condition getCondition()
null
for nonepublic Bucket.Lifecycle.Rule setCondition(Bucket.Lifecycle.Rule.Condition condition)
condition
- condition or null
for nonepublic Bucket.Lifecycle.Rule set(String fieldName, Object value)
set
in class GenericJson
public Bucket.Lifecycle.Rule clone()
clone
in class GenericJson