Class InstanceInfo.Builder (2.24.1)

public abstract static class InstanceInfo.Builder

Inheritance

java.lang.Object > InstanceInfo.Builder

Constructors

Builder()

public Builder()

Methods

addLabel(String arg0, String arg1)

public abstract InstanceInfo.Builder addLabel(String arg0, String arg1)
Parameters
Name Description
arg0 String
arg1 String
Returns
Type Description
InstanceInfo.Builder

build()

public abstract InstanceInfo build()
Returns
Type Description
InstanceInfo

putAllLabels(Map<String,String> arg0)

public abstract InstanceInfo.Builder putAllLabels(Map<String,String> arg0)
Parameter
Name Description
arg0 Map<String,String>
Returns
Type Description
InstanceInfo.Builder

setAutoscalingConfig(AutoscalingConfig arg0)

public InstanceInfo.Builder setAutoscalingConfig(AutoscalingConfig arg0)
Parameter
Name Description
arg0 com.google.spanner.admin.instance.v1.AutoscalingConfig
Returns
Type Description
InstanceInfo.Builder

setDisplayName(String arg0)

public abstract InstanceInfo.Builder setDisplayName(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
InstanceInfo.Builder

setEdition(Instance.Edition arg0)

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

setInstanceConfigId(InstanceConfigId arg0)

public abstract InstanceInfo.Builder setInstanceConfigId(InstanceConfigId arg0)
Parameter
Name Description
arg0 InstanceConfigId
Returns
Type Description
InstanceInfo.Builder

setNodeCount(int arg0)

public abstract InstanceInfo.Builder setNodeCount(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
InstanceInfo.Builder

setProcessingUnits(int arg0)

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

setState(InstanceInfo.State arg0)

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