INNER CODE UNIT · Java

newBuilder

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

  public static Builder newBuilder(ClientConfigProfile profile) {
    return new Builder(profile);
  }

  /** Returns a default instance of {@link ClientConfigProfile} with all fields unset. */
  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 {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…