Class InstanceName.Builder (2.10.0)

public static class InstanceName.Builder

Builder for projects/{project}/zones/{zone}/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

getProject()

public String getProject()
Returns
TypeDescription
String

getZone()

public String getZone()
Returns
TypeDescription
String

setInstance(String instance)

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

setProject(String project)

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

setZone(String zone)

public InstanceName.Builder setZone(String zone)
Parameter
NameDescription
zoneString
Returns
TypeDescription
InstanceName.Builder