public final class InstancePartition
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 Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
InstancePartition() |
Modifier and Type | Method and Description |
---|---|
InstancePartition |
clone() |
String |
getConfig()
Required.
|
String |
getCreateTime()
Output only.
|
String |
getDisplayName()
Required.
|
String |
getEtag()
Used for optimistic concurrency control as a way to help prevent simultaneous updates of a
instance partition from overwriting each other.
|
String |
getName()
Required.
|
Integer |
getNodeCount()
The number of nodes allocated to this instance partition.
|
Integer |
getProcessingUnits()
The number of processing units allocated to this instance partition.
|
List<String> |
getReferencingBackups()
Output only.
|
List<String> |
getReferencingDatabases()
Output only.
|
String |
getState()
Output only.
|
String |
getUpdateTime()
Output only.
|
InstancePartition |
set(String fieldName,
Object value) |
InstancePartition |
setConfig(String config)
Required.
|
InstancePartition |
setCreateTime(String createTime)
Output only.
|
InstancePartition |
setDisplayName(String displayName)
Required.
|
InstancePartition |
setEtag(String etag)
Used for optimistic concurrency control as a way to help prevent simultaneous updates of a
instance partition from overwriting each other.
|
InstancePartition |
setName(String name)
Required.
|
InstancePartition |
setNodeCount(Integer nodeCount)
The number of nodes allocated to this instance partition.
|
InstancePartition |
setProcessingUnits(Integer processingUnits)
The number of processing units allocated to this instance partition.
|
InstancePartition |
setReferencingBackups(List<String> referencingBackups)
Output only.
|
InstancePartition |
setReferencingDatabases(List<String> referencingDatabases)
Output only.
|
InstancePartition |
setState(String state)
Output only.
|
InstancePartition |
setUpdateTime(String updateTime)
Output only.
|
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 String getConfig()
null
for nonepublic InstancePartition setConfig(String config)
config
- config or null
for nonepublic String getCreateTime()
null
for nonepublic InstancePartition setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDisplayName()
null
for nonepublic InstancePartition setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getEtag()
null
for nonepublic InstancePartition setEtag(String etag)
etag
- etag or null
for nonepublic String getName()
null
for nonepublic InstancePartition setName(String name)
name
- name or null
for nonepublic Integer getNodeCount()
null
for nonepublic InstancePartition setNodeCount(Integer nodeCount)
nodeCount
- nodeCount or null
for nonepublic Integer getProcessingUnits()
null
for nonepublic InstancePartition setProcessingUnits(Integer processingUnits)
processingUnits
- processingUnits or null
for nonepublic List<String> getReferencingBackups()
null
for nonepublic InstancePartition setReferencingBackups(List<String> referencingBackups)
referencingBackups
- referencingBackups or null
for nonepublic List<String> getReferencingDatabases()
null
for nonepublic InstancePartition setReferencingDatabases(List<String> referencingDatabases)
referencingDatabases
- referencingDatabases or null
for nonepublic String getState()
null
for nonepublic InstancePartition setState(String state)
state
- state or null
for nonepublic String getUpdateTime()
null
for nonepublic InstancePartition setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic InstancePartition set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public InstancePartition clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.