Class InventoryName.Builder (2.24.0)

public static class InventoryName.Builder

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

Inheritance

java.lang.Object > InventoryName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public InventoryName build()
Returns
TypeDescription
InventoryName

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 InventoryName.Builder setInstance(String instance)
Parameter
NameDescription
instanceString
Returns
TypeDescription
InventoryName.Builder

setLocation(String location)

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

setProject(String project)

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