Class InstanceConfig.Builder (2.25.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
Name Description
arg0 String
arg1 String
Returns
Type Description
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
Name Description
arg0 List<ReplicaInfo>
Returns
Type Description
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.addReadOnlyReplicas(java.util.List<com.google.cloud.spanner.ReplicaInfo>)

build()

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

putAllLabels(Map<String,String> arg0)

public InstanceConfig.Builder putAllLabels(Map<String,String> arg0)
Parameter
Name Description
arg0 Map<String,String>
Returns
Type Description
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
Name Description
arg0 InstanceConfigInfo
Returns
Type Description
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
Name Description
arg0 Type
Returns
Type Description
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
Name Description
arg0 String
Returns
Type Description
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setDisplayName(java.lang.String)

setEtag(String arg0)

public InstanceConfig.Builder setEtag(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
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
Name Description
arg0 List<String>
Returns
Type Description
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
Name Description
arg0 List<ReplicaInfo>
Returns
Type Description
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
Name Description
arg0 boolean
Returns
Type Description
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setReconciling(boolean)

setReplicas(List<ReplicaInfo> arg0)

protected InstanceConfig.Builder setReplicas(List<ReplicaInfo> arg0)
Parameter
Name Description
arg0 List<ReplicaInfo>
Returns
Type Description
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
Name Description
arg0 State
Returns
Type Description
InstanceConfig.Builder
Overrides
com.google.cloud.spanner.InstanceConfigInfo.BuilderImpl.setState(com.google.cloud.spanner.InstanceConfigInfo.State)