public static final class Bucket.Lifecycle
extends com.google.api.client.json.GenericJson
Modifier and Type | Class and Description |
---|---|
static class |
Bucket.Lifecycle.Rule
Model definition for BucketLifecycleRule.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Bucket.Lifecycle() |
Modifier and Type | Method and Description |
---|---|
Bucket.Lifecycle |
clone() |
java.util.List<Bucket.Lifecycle.Rule> |
getRule()
A lifecycle management rule, which is made of an action to take and the condition(s) under
which the action will be taken.
|
Bucket.Lifecycle |
set(java.lang.String fieldName,
java.lang.Object value) |
Bucket.Lifecycle |
setRule(java.util.List<Bucket.Lifecycle.Rule> rule)
A lifecycle management rule, which is made of an action to take and the condition(s) under
which the action will be taken.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<Bucket.Lifecycle.Rule> getRule()
null
for nonepublic Bucket.Lifecycle setRule(java.util.List<Bucket.Lifecycle.Rule> rule)
rule
- rule or null
for nonepublic Bucket.Lifecycle set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Bucket.Lifecycle clone()
clone
in class com.google.api.client.json.GenericJson