public final class RelocateBucketRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Storage JSON API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
RelocateBucketRequest.DestinationCustomPlacementConfig
The bucket's new custom placement configuration if relocating to a Custom Dual Region.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RelocateBucketRequest() |
| Modifier and Type | Method and Description |
|---|---|
RelocateBucketRequest |
clone() |
RelocateBucketRequest.DestinationCustomPlacementConfig |
getDestinationCustomPlacementConfig()
The bucket's new custom placement configuration if relocating to a Custom Dual Region.
|
String |
getDestinationLocation()
The new location the bucket will be relocated to.
|
Boolean |
getValidateOnly()
If true, validate the operation, but do not actually relocate the bucket.
|
RelocateBucketRequest |
set(String fieldName,
Object value) |
RelocateBucketRequest |
setDestinationCustomPlacementConfig(RelocateBucketRequest.DestinationCustomPlacementConfig destinationCustomPlacementConfig)
The bucket's new custom placement configuration if relocating to a Custom Dual Region.
|
RelocateBucketRequest |
setDestinationLocation(String destinationLocation)
The new location the bucket will be relocated to.
|
RelocateBucketRequest |
setValidateOnly(Boolean validateOnly)
If true, validate the operation, but do not actually relocate the bucket.
|
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 RelocateBucketRequest.DestinationCustomPlacementConfig getDestinationCustomPlacementConfig()
null for nonepublic RelocateBucketRequest setDestinationCustomPlacementConfig(RelocateBucketRequest.DestinationCustomPlacementConfig destinationCustomPlacementConfig)
destinationCustomPlacementConfig - destinationCustomPlacementConfig or null for nonepublic String getDestinationLocation()
null for nonepublic RelocateBucketRequest setDestinationLocation(String destinationLocation)
destinationLocation - destinationLocation or null for nonepublic Boolean getValidateOnly()
null for nonepublic RelocateBucketRequest setValidateOnly(Boolean validateOnly)
validateOnly - validateOnly or null for nonepublic RelocateBucketRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RelocateBucketRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.