Class 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 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