/** * Default constructor */ public ConsulClientOptions() { super(); setDefaultHost(CONSUL_DEFAULT_HOST); setDefaultPort(CONSUL_DEFAULT_PORT); }
/** * Set Consul host. Defaults to `localhost` * * @param host consul host * @return reference to this, for fluency */ @GenIgnore public ConsulClientOptions setHost(String host) { setDefaultHost(host); return this; }