Package io.vertx.ext.consul.connect

## Class UpstreamOptions

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

-     public class UpstreamOptions
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getDc()` |
    `String` | `getDestinationName()` |
    `int` | `getLocalBindPort()` |
    `UpstreamOptions` | `setDc​(String dc)` |
    `UpstreamOptions` | `setDestinationName​(String destinationName)` |
    `UpstreamOptions` | `setLocalBindPort​(int localBindPort)` |
    `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

    - #### UpstreamOptions

          public UpstreamOptions()

      Default constructor

    - #### UpstreamOptions

          public UpstreamOptions​(JsonObject options)

      Constructor from JSON
      Parameters:
        `options` - the JSON

  - ### Method Detail

    - #### toJson

          public 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)