Class InstanceName.Builder (1.41.0)

public static class InstanceName.Builder

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

Inheritance

java.lang.Object > InstanceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public InstanceName build()
Returns
TypeDescription
InstanceName

getInstance()

public String getInstance()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setInstance(String instance)

public InstanceName.Builder setInstance(String instance)
Parameter
NameDescription
instanceString
Returns
TypeDescription
InstanceName.Builder

setLocation(String location)

public InstanceName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
InstanceName.Builder

setProject(String project)

public InstanceName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
InstanceName.Builder