public static class Instance.Builder extends InstanceInfo.Builder
Methods
addLabel(String arg0, String arg1)
public Instance.Builder addLabel(String arg0, String arg1)
Parameters | |
---|---|
Name | Description |
arg0 | String |
arg1 | String |
Returns | |
---|---|
Type | Description |
Instance.Builder |
build()
public Instance build()
Returns | |
---|---|
Type | Description |
Instance |
putAllLabels(Map<String,String> arg0)
public Instance.Builder putAllLabels(Map<String,String> arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Map<String,String> |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setAutoscalingConfig(AutoscalingConfig arg0)
public Instance.Builder setAutoscalingConfig(AutoscalingConfig arg0)
Parameter | |
---|---|
Name | Description |
arg0 | com.google.spanner.admin.instance.v1.AutoscalingConfig |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setDisplayName(String arg0)
public Instance.Builder setDisplayName(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setInstanceConfigId(InstanceConfigId arg0)
public Instance.Builder setInstanceConfigId(InstanceConfigId arg0)
Parameter | |
---|---|
Name | Description |
arg0 | InstanceConfigId |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setNodeCount(int arg0)
public Instance.Builder setNodeCount(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setProcessingUnits(int arg0)
public Instance.Builder setProcessingUnits(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
Instance.Builder |
setState(InstanceInfo.State arg0)
public Instance.Builder setState(InstanceInfo.State arg0)
Parameter | |
---|---|
Name | Description |
arg0 | State |
Returns | |
---|---|
Type | Description |
Instance.Builder |