Interface HealthCheckObservation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HealthCheckObservation.Builder,HealthCheckObservation>, SdkBuilder<HealthCheckObservation.Builder,HealthCheckObservation>, SdkPojo
Enclosing class:
HealthCheckObservation

public static interface HealthCheckObservation.Builder extends SdkPojo, CopyableBuilder<HealthCheckObservation.Builder,HealthCheckObservation>
  • Method Details

    • region

      The region of the Amazon Route 53 health checker that provided the status in StatusReport.

      Parameters:
      region - The region of the Amazon Route 53 health checker that provided the status in StatusReport .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • region

      The region of the Amazon Route 53 health checker that provided the status in StatusReport.

      Parameters:
      region - The region of the Amazon Route 53 health checker that provided the status in StatusReport .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddress

      HealthCheckObservation.Builder ipAddress(String ipAddress)

      The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport.

      Parameters:
      ipAddress - The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReport

      HealthCheckObservation.Builder statusReport(StatusReport statusReport)

      A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.

      Parameters:
      statusReport - A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReport

      default HealthCheckObservation.Builder statusReport(Consumer<StatusReport.Builder> statusReport)

      A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.

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

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

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