Class Instance.Builder (2.25.0)

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
Name Description
arg0 String
arg1 String
Returns
Type Description
Instance.Builder
Overrides

build()

public Instance build()
Returns
Type Description
Instance
Overrides

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
Overrides

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
Overrides

setDisplayName(String arg0)

public Instance.Builder setDisplayName(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Instance.Builder
Overrides

setEdition(Instance.Edition arg0)

public Instance.Builder setEdition(Instance.Edition arg0)
Parameter
Name Description
arg0 com.google.spanner.admin.instance.v1.Instance.Edition
Returns
Type Description
Instance.Builder
Overrides

setInstanceConfigId(InstanceConfigId arg0)

public Instance.Builder setInstanceConfigId(InstanceConfigId arg0)
Parameter
Name Description
arg0 InstanceConfigId
Returns
Type Description
Instance.Builder
Overrides

setNodeCount(int arg0)

public Instance.Builder setNodeCount(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Instance.Builder
Overrides

setProcessingUnits(int arg0)

public Instance.Builder setProcessingUnits(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Instance.Builder
Overrides

setState(InstanceInfo.State arg0)

public Instance.Builder setState(InstanceInfo.State arg0)
Parameter
Name Description
arg0 State
Returns
Type Description
Instance.Builder
Overrides