public static final class JFluxClient.Builder extends Object
JFluxClient.| Constructor and Description |
|---|
Builder(String host)
Initializes a new builder instance, setting the InfluxDB host URL.
|
| Modifier and Type | Method and Description |
|---|---|
JFluxClient |
build()
Constructs a new
JFluxClient instance from this builder's configuration. |
public Builder(String host)
host - the InfluxDB host URL, e.g. http://localhost:8086public JFluxClient build() throws IOException
JFluxClient instance from this builder's configuration.IOException - if the InfluxDB instance is unreachableCopyright © 2020. All rights reserved.