| Constructor and Description |
|---|
EndpointBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
build()
Construct an
Endpoint from the provided values |
Endpoint.EndpointBuilder |
host(String host)
Set the host name.
|
Endpoint.EndpointBuilder |
ports(List<String> ports)
Set the list of ports.
|
Endpoint.EndpointBuilder |
ports(String... ports)
Set the list of ports.
|
Endpoint.EndpointBuilder |
protocol(Endpoint.Protocol protocol)
Set the network protocol.
|
public Endpoint.EndpointBuilder host(String host)
This value will set the host field in the body of the response to the platform.
host - the host namepublic Endpoint.EndpointBuilder ports(List<String> ports)
This value will set the ports field in the body of the response to the platform.
ports - the portspublic Endpoint.EndpointBuilder ports(String... ports)
This value will set the ports field in the body of the response to the platform.
ports - the portspublic Endpoint.EndpointBuilder protocol(Endpoint.Protocol protocol)
This value will set the protocol field in the body of the response to the platform.
protocol - the protocol