All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.avaje.aws.appconfig.AppConfigFetcher Maven / Gradle / Ivy

package io.avaje.aws.appconfig;

public interface AppConfigFetcher {

  static AppConfigFetcher.Builder builder() {
    return new DAppConfigFetcher.Builder();
  }

  Result fetch() throws FetchException;

  class FetchException extends Exception {

    public FetchException(Exception e) {
      super(e);
    }
  }

  interface Result {

    String version();

    String contentType();

    String body();
  }

  interface Builder {

    AppConfigFetcher.Builder application(String application);

    AppConfigFetcher.Builder environment(String environment);

    AppConfigFetcher.Builder configuration(String configuration);

    AppConfigFetcher.Builder port(int port);

    AppConfigFetcher build();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy