Class InstanceInfo.Builder (2.16.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
NameDescription
arg0String
arg1String
Returns
TypeDescription
InstanceInfo.Builder

build()

public abstract InstanceInfo build()
Returns
TypeDescription
InstanceInfo

putAllLabels(Map<String,String> arg0)

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

setAutoscalingConfig(AutoscalingConfig arg0)

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

setDisplayName(String arg0)

public abstract InstanceInfo.Builder setDisplayName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
InstanceInfo.Builder

setInstanceConfigId(InstanceConfigId arg0)

public abstract InstanceInfo.Builder setInstanceConfigId(InstanceConfigId arg0)
Parameter
NameDescription
arg0InstanceConfigId
Returns
TypeDescription
InstanceInfo.Builder

setNodeCount(int arg0)

public abstract InstanceInfo.Builder setNodeCount(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
InstanceInfo.Builder

setProcessingUnits(int arg0)

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

setState(InstanceInfo.State arg0)

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