public final class ReplicaComputeCapacity
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 |
---|
ReplicaComputeCapacity() |
Modifier and Type | Method and Description |
---|---|
ReplicaComputeCapacity |
clone() |
Integer |
getNodeCount()
The number of nodes allocated to each replica.
|
Integer |
getProcessingUnits()
The number of processing units allocated to each replica.
|
InstanceReplicaSelection |
getReplicaSelection()
Required.
|
ReplicaComputeCapacity |
set(String fieldName,
Object value) |
ReplicaComputeCapacity |
setNodeCount(Integer nodeCount)
The number of nodes allocated to each replica.
|
ReplicaComputeCapacity |
setProcessingUnits(Integer processingUnits)
The number of processing units allocated to each replica.
|
ReplicaComputeCapacity |
setReplicaSelection(InstanceReplicaSelection replicaSelection)
Required.
|
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 Integer getNodeCount()
null
for nonepublic ReplicaComputeCapacity setNodeCount(Integer nodeCount)
nodeCount
- nodeCount or null
for nonepublic Integer getProcessingUnits()
null
for nonepublic ReplicaComputeCapacity setProcessingUnits(Integer processingUnits)
processingUnits
- processingUnits or null
for nonepublic InstanceReplicaSelection getReplicaSelection()
null
for nonepublic ReplicaComputeCapacity setReplicaSelection(InstanceReplicaSelection replicaSelection)
replicaSelection
- replicaSelection or null
for nonepublic ReplicaComputeCapacity set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ReplicaComputeCapacity clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.