public static final class Bucket.Lifecycle.Rule
extends com.google.api.client.json.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.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 com.google.api.client.json.GenericJson
public Bucket.Lifecycle.Rule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2018 Google. All rights reserved.