public static interface HealthCheckObservation.Builder extends CopyableBuilder<HealthCheckObservation.Builder,HealthCheckObservation>
Modifier and Type | Method and Description |
---|---|
HealthCheckObservation.Builder |
ipAddress(String ipAddress)
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport . |
HealthCheckObservation.Builder |
region(HealthCheckRegion region)
The region of the Amazon Route 53 health checker that provided the status in
StatusReport . |
HealthCheckObservation.Builder |
region(String region)
The region of the Amazon Route 53 health checker that provided the status in
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.
|
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.
|
copy
apply, build
HealthCheckObservation.Builder region(String region)
The region of the Amazon Route 53 health checker that provided the status in StatusReport
.
region
- The region of the Amazon Route 53 health checker that provided the status in StatusReport
.HealthCheckRegion
,
HealthCheckRegion
HealthCheckObservation.Builder region(HealthCheckRegion region)
The region of the Amazon Route 53 health checker that provided the status in StatusReport
.
region
- The region of the Amazon Route 53 health checker that provided the status in StatusReport
.HealthCheckRegion
,
HealthCheckRegion
HealthCheckObservation.Builder ipAddress(String ipAddress)
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport
.
ipAddress
- The IP address of the Amazon Route 53 health checker that provided the failure reason in
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.
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.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 that creates an instance of theStatusReport.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)
.statusReport
- a consumer that will call methods on StatusReport.Builder
statusReport(StatusReport)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.