Interface InstanceHealthStatus.Builder

  • Method Details

    • status

      The status.

      The following values are possible:

      • ok - All checks are passing. The instance is reachable.

      • impaired - One or more checks have failed.

      • initializing - The instance was recently started, and the checks are in progress.

      • insufficient-data - There isn't enough data yet to determine the result.

      • not-applicable - The check doesn't apply because the instance isn't running.

      Parameters:
      status - The status.

      The following values are possible:

      • ok - All checks are passing. The instance is reachable.

      • impaired - One or more checks have failed.

      • initializing - The instance was recently started, and the checks are in progress.

      • insufficient-data - There isn't enough data yet to determine the result.

      • not-applicable - The check doesn't apply because the instance isn't running.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status.

      The following values are possible:

      • ok - All checks are passing. The instance is reachable.

      • impaired - One or more checks have failed.

      • initializing - The instance was recently started, and the checks are in progress.

      • insufficient-data - There isn't enough data yet to determine the result.

      • not-applicable - The check doesn't apply because the instance isn't running.

      Parameters:
      status - The status.

      The following values are possible:

      • ok - All checks are passing. The instance is reachable.

      • impaired - One or more checks have failed.

      • initializing - The instance was recently started, and the checks are in progress.

      • insufficient-data - There isn't enough data yet to determine the result.

      • not-applicable - The check doesn't apply because the instance isn't running.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • details

      The system instance health or instance health.

      Parameters:
      details - The system instance health or instance health.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      The system instance health or instance health.

      Parameters:
      details - The system instance health or instance health.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      The system instance health or instance health.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to details(List<InstanceHealthStatusDetail>).

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