public static final class StorageObject.Retention
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Retention() |
| Modifier and Type | Method and Description |
|---|---|
StorageObject.Retention |
clone() |
String |
getMode()
The bucket's object retention mode, can only be Unlocked or Locked.
|
com.google.api.client.util.DateTime |
getRetainUntilTime()
A time in RFC 3339 format until which object retention protects this object.
|
StorageObject.Retention |
set(String fieldName,
Object value) |
StorageObject.Retention |
setMode(String mode)
The bucket's object retention mode, can only be Unlocked or Locked.
|
StorageObject.Retention |
setRetainUntilTime(com.google.api.client.util.DateTime retainUntilTime)
A time in RFC 3339 format until which object retention protects this object.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getMode()
null for nonepublic StorageObject.Retention setMode(String mode)
mode - mode or null for nonepublic com.google.api.client.util.DateTime getRetainUntilTime()
null for nonepublic StorageObject.Retention setRetainUntilTime(com.google.api.client.util.DateTime retainUntilTime)
retainUntilTime - retainUntilTime or null for nonepublic StorageObject.Retention set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic StorageObject.Retention clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.