Module io.helidon.config.etcd
Package io.helidon.config.etcd
Class EtcdConfigSourceBuilder.EtcdEndpoint
- java.lang.Object
-
- io.helidon.config.etcd.EtcdConfigSourceBuilder.EtcdEndpoint
-
- Enclosing class:
- EtcdConfigSourceBuilder
public static class EtcdConfigSourceBuilder.EtcdEndpoint extends Object
Etcd endpoint remote descriptor.Holds attributes necessary to connect to remote Etcd service.
-
-
Constructor Summary
Constructors Constructor Description EtcdEndpoint(URI uri, String key, EtcdConfigSourceBuilder.EtcdApi api)
Initializes descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EtcdConfigSourceBuilder.EtcdApi
api()
Etcd API version.String
key()
Etcd key.URI
uri()
Etcd endpoint remote URI.
-
-
-
Constructor Detail
-
EtcdEndpoint
public EtcdEndpoint(URI uri, String key, EtcdConfigSourceBuilder.EtcdApi api)
Initializes descriptor.- Parameters:
uri
- an Etcd endpoint remote URI.key
- an Etcd key with which the value containing the configuration is associated.api
- an Etcd API version.
-
-
Method Detail
-
uri
public URI uri()
Etcd endpoint remote URI.- Returns:
- endpoint URI
-
key
public String key()
Etcd key.- Returns:
- key with configuration
-
api
public EtcdConfigSourceBuilder.EtcdApi api()
Etcd API version.- Returns:
- API version
-
-