Class InstanceName.Builder (2.53.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
Type Description
InstanceName

getInstance()

public String getInstance()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getZone()

public String getZone()
Returns
Type Description
String

setInstance(String instance)

public InstanceName.Builder setInstance(String instance)
Parameter
Name Description
instance 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

setZone(String zone)

public InstanceName.Builder setZone(String zone)
Parameter
Name Description
zone String
Returns
Type Description
InstanceName.Builder