Class DiscoveredServiceName.Builder (0.3.0)

public static class DiscoveredServiceName.Builder

Builder for projects/{project}/locations/{location}/discoveredServices/{discovered_service}.

Inheritance

java.lang.Object > DiscoveredServiceName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DiscoveredServiceName build()
Returns
TypeDescription
DiscoveredServiceName

getDiscoveredService()

public String getDiscoveredService()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setDiscoveredService(String discoveredService)

public DiscoveredServiceName.Builder setDiscoveredService(String discoveredService)
Parameter
NameDescription
discoveredServiceString
Returns
TypeDescription
DiscoveredServiceName.Builder

setLocation(String location)

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

setProject(String project)

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