public static final class Bucket.SoftDeletePolicy
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SoftDeletePolicy() |
Modifier and Type | Method and Description |
---|---|
Bucket.SoftDeletePolicy |
clone() |
com.google.api.client.util.DateTime |
getEffectiveTime()
Server-determined value that indicates the time from which the policy, or one with a greater
retention, was effective.
|
Long |
getRetentionDurationSeconds()
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be
permanently deleted.
|
Bucket.SoftDeletePolicy |
set(String fieldName,
Object value) |
Bucket.SoftDeletePolicy |
setEffectiveTime(com.google.api.client.util.DateTime effectiveTime)
Server-determined value that indicates the time from which the policy, or one with a greater
retention, was effective.
|
Bucket.SoftDeletePolicy |
setRetentionDurationSeconds(Long retentionDurationSeconds)
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be
permanently deleted.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public com.google.api.client.util.DateTime getEffectiveTime()
null
for nonepublic Bucket.SoftDeletePolicy setEffectiveTime(com.google.api.client.util.DateTime effectiveTime)
effectiveTime
- effectiveTime or null
for nonepublic Long getRetentionDurationSeconds()
null
for nonepublic Bucket.SoftDeletePolicy setRetentionDurationSeconds(Long retentionDurationSeconds)
retentionDurationSeconds
- retentionDurationSeconds or null
for nonepublic Bucket.SoftDeletePolicy set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Bucket.SoftDeletePolicy clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.