Interface EndpointBuilder<E,S>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EndpointBuilder<E, S> LikeaddServer(Object, String)with a default key.Add aserverwith its associatedkeybuild()
-
Method Details
-
addServer
Add aserverwith its associatedkey- Parameters:
server- the serverkey- the key- Returns:
- the next builder to be used, it might return a new instance
-
addServer
LikeaddServer(Object, String)with a default key. -
build
E build()- Returns:
- the endpoint
-