Interface HealthCheckObservation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HealthCheckObservation.Builder,
,HealthCheckObservation> SdkBuilder<HealthCheckObservation.Builder,
,HealthCheckObservation> SdkPojo
- Enclosing class:
HealthCheckObservation
@Mutable
@NotThreadSafe
public static interface HealthCheckObservation.Builder
extends SdkPojo, CopyableBuilder<HealthCheckObservation.Builder,HealthCheckObservation>
-
Method Summary
Modifier and TypeMethodDescriptionThe IP address of the Amazon Route 53 health checker that provided the failure reason inStatusReport
.The region of the Amazon Route 53 health checker that provided the status inStatusReport
.region
(HealthCheckRegion region) The region of the Amazon Route 53 health checker that provided the status inStatusReport
.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 inStatusReport
.- 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 inStatusReport
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 inStatusReport
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 theStatusReport.Builder
avoiding the need to create one manually viaStatusReport.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusReport(StatusReport)
.- Parameters:
statusReport
- a consumer that will call methods onStatusReport.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-