Class DiscoveredServiceName.Builder (0.19.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
Type Description
DiscoveredServiceName

getDiscoveredService()

public String getDiscoveredService()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setDiscoveredService(String discoveredService)

public DiscoveredServiceName.Builder setDiscoveredService(String discoveredService)
Parameter
Name Description
discoveredService String
Returns
Type Description
DiscoveredServiceName.Builder

setLocation(String location)

public DiscoveredServiceName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
DiscoveredServiceName.Builder

setProject(String project)

public DiscoveredServiceName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
DiscoveredServiceName.Builder