Package io.vertx.ext.consul.connect

## Class SidecarServiceOptions

- java.lang.Object
- - io.vertx.ext.consul.connect.SidecarServiceOptions

-     public class SidecarServiceOptions
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SidecarServiceOptions()` | Default constructor
    `SidecarServiceOptions​(JsonObject options)` | Constructor from JSON

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<JsonObject>` | `getChecks()` |
    `int` | `getPort()` |
    `ProxyOptions` | `getProxy()` |
    `void` | `setChecks​(List<JsonObject> checks)` |
    `SidecarServiceOptions` | `setPort​(int port)` |
    `SidecarServiceOptions` | `setProxy​(ProxyOptions proxy)` |
    `JsonObject` | `toJson()` | Convert to JSON

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SidecarServiceOptions

          public SidecarServiceOptions()

      Default constructor

    - #### SidecarServiceOptions

          public SidecarServiceOptions​(JsonObject options)

      Constructor from JSON
      Parameters:
        `options` - the JSON

  - ### Method Detail

    - #### toJson

          public 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<JsonObject> getChecks()

    - #### setChecks

          public void setChecks​(List<JsonObject> checks)