Class InstanceName.Builder (0.23.0)

public static class InstanceName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}.

Inheritance

java.lang.Object > InstanceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public InstanceName build()
Returns
Type Description
InstanceName

getCluster()

public String getCluster()
Returns
Type Description
String

getInstance()

public String getInstance()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setCluster(String cluster)

public InstanceName.Builder setCluster(String cluster)
Parameter
Name Description
cluster String
Returns
Type Description
InstanceName.Builder

setInstance(String instance)

public InstanceName.Builder setInstance(String instance)
Parameter
Name Description
instance String
Returns
Type Description
InstanceName.Builder

setLocation(String location)

public InstanceName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
InstanceName.Builder

setProject(String project)

public InstanceName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
InstanceName.Builder