INNER CODE UNIT · Java

getDefaultInstance

temporalio/sdk-java · temporal-envconfig/src/main/java/io/temporal/envconfig/ClientConfigProfile.java:35

  public static ClientConfigProfile getDefaultInstance() {
    return new Builder().build();
  }

  /**
   * Load a client profile from given sources, applying environment variable overrides.
   *
   * <p>This is a convenience method for {@link #load(LoadClientConfigProfileOptions)} with default
   * options.
   *
   * @throws IOException if the config file cannot be read or parsed
   */
  public static ClientConfigProfile load() throws IOException {
    return load(LoadClientConfigProfileOptions.newBuilder().build());
  }

  /**
   * Load a client profile from given sources, applying environment variable overrides.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…