Class SubnetName.Builder (0.3.0)

public static class SubnetName.Builder

Builder for projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}.

Inheritance

java.lang.Object > SubnetName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SubnetName build()
Returns
TypeDescription
SubnetName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSubnet()

public String getSubnet()
Returns
TypeDescription
String

getZone()

public String getZone()
Returns
TypeDescription
String

setLocation(String location)

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

setProject(String project)

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

setSubnet(String subnet)

public SubnetName.Builder setSubnet(String subnet)
Parameter
NameDescription
subnetString
Returns
TypeDescription
SubnetName.Builder

setZone(String zone)

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