public final class BucketStorageLayout
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 |
BucketStorageLayout.CustomPlacementConfig
The bucket's custom placement configuration for Custom Dual Regions.
|
static class |
BucketStorageLayout.HierarchicalNamespace
The bucket's hierarchical namespace configuration.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BucketStorageLayout() |
| Modifier and Type | Method and Description |
|---|---|
BucketStorageLayout |
clone() |
String |
getBucket()
The name of the bucket.
|
BucketStorageLayout.CustomPlacementConfig |
getCustomPlacementConfig()
The bucket's custom placement configuration for Custom Dual Regions.
|
BucketStorageLayout.HierarchicalNamespace |
getHierarchicalNamespace()
The bucket's hierarchical namespace configuration.
|
String |
getKind()
The kind of item this is.
|
String |
getLocation()
The location of the bucket.
|
String |
getLocationType()
The type of the bucket location.
|
BucketStorageLayout |
set(String fieldName,
Object value) |
BucketStorageLayout |
setBucket(String bucket)
The name of the bucket.
|
BucketStorageLayout |
setCustomPlacementConfig(BucketStorageLayout.CustomPlacementConfig customPlacementConfig)
The bucket's custom placement configuration for Custom Dual Regions.
|
BucketStorageLayout |
setHierarchicalNamespace(BucketStorageLayout.HierarchicalNamespace hierarchicalNamespace)
The bucket's hierarchical namespace configuration.
|
BucketStorageLayout |
setKind(String kind)
The kind of item this is.
|
BucketStorageLayout |
setLocation(String location)
The location of the bucket.
|
BucketStorageLayout |
setLocationType(String locationType)
The type of the bucket location.
|
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 getBucket()
null for nonepublic BucketStorageLayout setBucket(String bucket)
bucket - bucket or null for nonepublic BucketStorageLayout.CustomPlacementConfig getCustomPlacementConfig()
null for nonepublic BucketStorageLayout setCustomPlacementConfig(BucketStorageLayout.CustomPlacementConfig customPlacementConfig)
customPlacementConfig - customPlacementConfig or null for nonepublic BucketStorageLayout.HierarchicalNamespace getHierarchicalNamespace()
null for nonepublic BucketStorageLayout setHierarchicalNamespace(BucketStorageLayout.HierarchicalNamespace hierarchicalNamespace)
hierarchicalNamespace - hierarchicalNamespace or null for nonepublic String getKind()
null for nonepublic BucketStorageLayout setKind(String kind)
kind - kind or null for nonepublic String getLocation()
null for nonepublic BucketStorageLayout setLocation(String location)
location - location or null for nonepublic String getLocationType()
null for nonepublic BucketStorageLayout setLocationType(String locationType)
locationType - locationType or null for nonepublic BucketStorageLayout set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BucketStorageLayout clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.