Class Instance.Builder (2.15.5)

public static class Instance.Builder extends InstanceInfo.Builder

Inheritance

java.lang.Object > InstanceInfo.Builder > Instance.Builder

Methods

addLabel(String arg0, String arg1)

public Instance.Builder addLabel(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
Instance.Builder
Overrides

build()

public Instance build()
Returns
TypeDescription
Instance
Overrides

putAllLabels(Map<String,String> arg0)

public Instance.Builder putAllLabels(Map<String,String> arg0)
Parameter
NameDescription
arg0Map<String,String>
Returns
TypeDescription
Instance.Builder
Overrides

setAutoscalingConfig(AutoscalingConfig arg0)

public Instance.Builder setAutoscalingConfig(AutoscalingConfig arg0)
Parameter
NameDescription
arg0com.google.spanner.admin.instance.v1.AutoscalingConfig
Returns
TypeDescription
Instance.Builder
Overrides

setDisplayName(String arg0)

public Instance.Builder setDisplayName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Instance.Builder
Overrides

setInstanceConfigId(InstanceConfigId arg0)

public Instance.Builder setInstanceConfigId(InstanceConfigId arg0)
Parameter
NameDescription
arg0InstanceConfigId
Returns
TypeDescription
Instance.Builder
Overrides

setNodeCount(int arg0)

public Instance.Builder setNodeCount(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Instance.Builder
Overrides

setProcessingUnits(int arg0)

public Instance.Builder setProcessingUnits(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Instance.Builder
Overrides

setState(InstanceInfo.State arg0)

public Instance.Builder setState(InstanceInfo.State arg0)
Parameter
NameDescription
arg0State
Returns
TypeDescription
Instance.Builder
Overrides