- java.lang.Object
-
- io.vertx.ext.consul.connect.UpstreamOptions
-
public class UpstreamOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description UpstreamOptions()Default constructorUpstreamOptions(io.vertx.core.json.JsonObject options)Constructor from JSON
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDc()StringgetDestinationName()intgetLocalBindPort()UpstreamOptionssetDc(String dc)UpstreamOptionssetDestinationName(String destinationName)UpstreamOptionssetLocalBindPort(int localBindPort)io.vertx.core.json.JsonObjecttoJson()Convert to JSON
-
-
-
Method Detail
-
toJson
public io.vertx.core.json.JsonObject toJson()
Convert to JSON- Returns:
- the JSON
-
getDestinationName
public String getDestinationName()
-
setDestinationName
public UpstreamOptions setDestinationName(String destinationName)
-
getDc
public String getDc()
-
setDc
public UpstreamOptions setDc(String dc)
-
getLocalBindPort
public int getLocalBindPort()
-
setLocalBindPort
public UpstreamOptions setLocalBindPort(int localBindPort)
-
-