Class ServiceName.Builder (0.11.0)

public static class ServiceName.Builder

Builder for projects/{project}/locations/{location}/services/{service}.

Inheritance

java.lang.Object > ServiceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ServiceName build()
Returns
TypeDescription
ServiceName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getService()

public String getService()
Returns
TypeDescription
String

setLocation(String location)

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

setProject(String project)

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

setService(String service)

public ServiceName.Builder setService(String service)
Parameter
NameDescription
serviceString
Returns
TypeDescription
ServiceName.Builder