Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Class and Description |
---|---|
static class |
Instance.Builder
Builder of
Instance . |
Modifier and Type | Method and Description |
---|---|
abstract InstanceInfo.Builder |
InstanceInfo.Builder.addLabel(String key,
String value) |
static InstanceInfo.Builder |
InstanceInfo.newBuilder(InstanceId id) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.putAllLabels(Map<String,String> labels) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setDisplayName(String displayName) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setInstanceConfigId(InstanceConfigId configId) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setNodeCount(int nodeCount)
Sets the number of nodes for the instance.
|
InstanceInfo.Builder |
InstanceInfo.Builder.setProcessingUnits(int processingUnits)
Sets the number of processing units for the instance.
|
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setState(InstanceInfo.State state) |
InstanceInfo.Builder |
InstanceInfo.toBuilder() |
Copyright © 2022 Google LLC. All rights reserved.