Package io.vertx.ext.consul.connect

## Class ProxyOptions

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

-     public class ProxyOptions
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `JsonObject` | `getConfig()` |
    `ExposeOptions` | `getExpose()` |
    `List<UpstreamOptions>` | `getUpstreams()` |
    `ProxyOptions` | `setConfig​(JsonObject config)` |
    `ProxyOptions` | `setExpose​(ExposeOptions expose)` |
    `ProxyOptions` | `setUpstreams​(List<UpstreamOptions> upstreams)` |
    `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

    - #### ProxyOptions

          public ProxyOptions()

      Default constructor

    - #### ProxyOptions

          public ProxyOptions​(JsonObject options)

      Constructor from JSON
      Parameters:
        `options` - the JSON

  - ### Method Detail

    - #### toJson

          public JsonObject toJson()

      Convert to JSON
      Returns:
        the JSON

    - #### getConfig

          public JsonObject getConfig()

    - #### setConfig

          public ProxyOptions setConfig​(JsonObject config)

    - #### getUpstreams

          public List<UpstreamOptions> getUpstreams()

    - #### setUpstreams

          public ProxyOptions setUpstreams​(List<UpstreamOptions> upstreams)

    - #### getExpose

          public ExposeOptions getExpose()

    - #### setExpose

          public ProxyOptions setExpose​(ExposeOptions expose)