Interface AutoDetection.Builder

  • Method Details

    • configuration

      AutoDetection.Builder configuration(AutoDetectionConfiguration configuration)

      The auto-detection settings that control how resources are discovered for the registry.

      Parameters:
      configuration - The auto-detection settings that control how resources are discovered for the registry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default AutoDetection.Builder configuration(Consumer<AutoDetectionConfiguration.Builder> configuration)

      The auto-detection settings that control how resources are discovered for the registry.

      This is a convenience method that creates an instance of the AutoDetectionConfiguration.Builder avoiding the need to create one manually via AutoDetectionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(AutoDetectionConfiguration).

      Parameters:
      configuration - a consumer that will call methods on AutoDetectionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      AutoDetection.Builder status(String status)

      The current auto-detection status. ACTIVE indicates that the registry is actively being populated with detected resources. INACTIVE indicates that the preconditions required at the configured scope are not currently met.

      Parameters:
      status - The current auto-detection status. ACTIVE indicates that the registry is actively being populated with detected resources. INACTIVE indicates that the preconditions required at the configured scope are not currently met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current auto-detection status. ACTIVE indicates that the registry is actively being populated with detected resources. INACTIVE indicates that the preconditions required at the configured scope are not currently met.

      Parameters:
      status - The current auto-detection status. ACTIVE indicates that the registry is actively being populated with detected resources. INACTIVE indicates that the preconditions required at the configured scope are not currently met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      AutoDetection.Builder statusReason(String statusReason)

      A human-readable explanation of the current auto-detection status. Typically populated when the status requires additional context.

      Parameters:
      statusReason - A human-readable explanation of the current auto-detection status. Typically populated when the status requires additional context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.