Class InstanceConfig.Builder (2.16.1)

public static class InstanceConfig.Builder extends InstanceConfigInfo.BuilderImpl

Inheritance

java.lang.Object > InstanceConfigInfo.Builder > com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl > InstanceConfig.Builder

Methods

addLabel(String arg0, String arg1)

public InstanceConfig.Builder addLabel(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.addLabel(java.lang.String,java.lang.String)

addReadOnlyReplicas(List<ReplicaInfo> arg0)

public InstanceConfig.Builder addReadOnlyReplicas(List<ReplicaInfo> arg0)
Parameter
NameDescription
arg0List<ReplicaInfo>
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.addReadOnlyReplicas(java.util.List<com.google.cloud.spanner.ReplicaInfo>)

build()

public InstanceConfig build()
Returns
TypeDescription
InstanceConfig
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.build()

putAllLabels(Map<String,String> arg0)

public InstanceConfig.Builder putAllLabels(Map<String,String> arg0)
Parameter
NameDescription
arg0Map<String,String>
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.putAllLabels(java.util.Map<java.lang.String,java.lang.String>)

setBaseConfig(InstanceConfigInfo arg0)

protected InstanceConfig.Builder setBaseConfig(InstanceConfigInfo arg0)
Parameter
NameDescription
arg0InstanceConfigInfo
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setBaseConfig(com.google.cloud.spanner.InstanceConfigInfo)

setConfigType(InstanceConfigInfo.Type arg0)

protected InstanceConfig.Builder setConfigType(InstanceConfigInfo.Type arg0)
Parameter
NameDescription
arg0Type
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setConfigType(com.google.cloud.spanner.InstanceConfigInfo.Type)

setDisplayName(String arg0)

public InstanceConfig.Builder setDisplayName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setDisplayName(java.lang.String)

setEtag(String arg0)

public InstanceConfig.Builder setEtag(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setEtag(java.lang.String)

setLeaderOptions(List<String> arg0)

public InstanceConfig.Builder setLeaderOptions(List<String> arg0)
Parameter
NameDescription
arg0List<String>
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setLeaderOptions(java.util.List<java.lang.String>)

setOptionalReplicas(List<ReplicaInfo> arg0)

protected InstanceConfig.Builder setOptionalReplicas(List<ReplicaInfo> arg0)
Parameter
NameDescription
arg0List<ReplicaInfo>
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setOptionalReplicas(java.util.List<com.google.cloud.spanner.ReplicaInfo>)

setReconciling(boolean arg0)

protected InstanceConfig.Builder setReconciling(boolean arg0)
Parameter
NameDescription
arg0boolean
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setReconciling(boolean)

setReplicas(List<ReplicaInfo> arg0)

protected InstanceConfig.Builder setReplicas(List<ReplicaInfo> arg0)
Parameter
NameDescription
arg0List<ReplicaInfo>
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setReplicas(java.util.List<com.google.cloud.spanner.ReplicaInfo>)

setState(InstanceConfigInfo.State arg0)

protected InstanceConfig.Builder setState(InstanceConfigInfo.State arg0)
Parameter
NameDescription
arg0State
Returns
TypeDescription
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setState(com.google.cloud.spanner.InstanceConfigInfo.State)