Class DeviceName.Builder (2.4.0)

public static class DeviceName.Builder

Builder for projects/{project}/locations/{location}/registries/{registry}/devices/{device}.

Inheritance

java.lang.Object > DeviceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DeviceName build()
Returns
TypeDescription
DeviceName

getDevice()

public String getDevice()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRegistry()

public String getRegistry()
Returns
TypeDescription
String

setDevice(String device)

public DeviceName.Builder setDevice(String device)
Parameter
NameDescription
deviceString
Returns
TypeDescription
DeviceName.Builder

setLocation(String location)

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

setProject(String project)

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

setRegistry(String registry)

public DeviceName.Builder setRegistry(String registry)
Parameter
NameDescription
registryString
Returns
TypeDescription
DeviceName.Builder