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 Details

    • 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 Details

    • uri

      public URI uri()
      Etcd endpoint remote URI.
      Returns:
      endpoint URI
    • key

      public String key()
      Etcd key.
      Returns:
      key with configuration
    • api

      Etcd API version.
      Returns:
      API version