- java.lang.Object
-
- io.vertx.ext.consul.connect.SidecarServiceOptions
-
public class SidecarServiceOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description SidecarServiceOptions()Default constructorSidecarServiceOptions(io.vertx.core.json.JsonObject options)Constructor from JSON
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.vertx.core.json.JsonObject>getChecks()intgetPort()ProxyOptionsgetProxy()voidsetChecks(List<io.vertx.core.json.JsonObject> checks)SidecarServiceOptionssetPort(int port)SidecarServiceOptionssetProxy(ProxyOptions proxy)io.vertx.core.json.JsonObjecttoJson()Convert to JSON
-
-
-
Method Detail
-
toJson
public io.vertx.core.json.JsonObject toJson()
Convert to JSON- Returns:
- the JSON
-
getPort
public int getPort()
-
setPort
public SidecarServiceOptions setPort(int port)
-
getProxy
public ProxyOptions getProxy()
-
setProxy
public SidecarServiceOptions setProxy(ProxyOptions proxy)
-
getChecks
public List<io.vertx.core.json.JsonObject> getChecks()
-
setChecks
public void setChecks(List<io.vertx.core.json.JsonObject> checks)
-
-