Package | Description |
---|---|
com.google.api.services.spanner.v1.model |
Modifier and Type | Method and Description |
---|---|
ReplicaInfo |
ReplicaInfo.clone() |
ReplicaInfo |
ReplicaInfo.set(String fieldName,
Object value) |
ReplicaInfo |
ReplicaInfo.setDefaultLeaderLocation(Boolean defaultLeaderLocation)
If true, this location is designated as the default leader location where leader replicas are
placed.
|
ReplicaInfo |
ReplicaInfo.setLocation(String location)
The location of the serving resources, e.g., "us-central1".
|
ReplicaInfo |
ReplicaInfo.setType(String type)
The type of replica.
|
Modifier and Type | Method and Description |
---|---|
List<ReplicaInfo> |
InstanceConfig.getOptionalReplicas()
Output only.
|
List<ReplicaInfo> |
InstanceConfig.getReplicas()
The geographic placement of nodes in this instance configuration and their replication
properties.
|
Modifier and Type | Method and Description |
---|---|
InstanceConfig |
InstanceConfig.setOptionalReplicas(List<ReplicaInfo> optionalReplicas)
Output only.
|
InstanceConfig |
InstanceConfig.setReplicas(List<ReplicaInfo> replicas)
The geographic placement of nodes in this instance configuration and their replication
properties.
|
Copyright © 2011–2025 Google. All rights reserved.