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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HealthCheckObservation.BuilderipAddress(String ipAddress)The IP address of the Amazon Route 53 health checker that provided the failure reason inStatusReport.HealthCheckObservation.Builderregion(String region)The region of the Amazon Route 53 health checker that provided the status inStatusReport.HealthCheckObservation.Builderregion(HealthCheckRegion region)The region of the Amazon Route 53 health checker that provided the status inStatusReport.default HealthCheckObservation.BuilderstatusReport(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.BuilderstatusReport(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, sdkFields
-
-
-
-
Method Detail
-
region
HealthCheckObservation.Builder region(String 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:
HealthCheckRegion,HealthCheckRegion
-
region
HealthCheckObservation.Builder region(HealthCheckRegion 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:
HealthCheckRegion,HealthCheckRegion
-
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 inStatusReport.- 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 theStatusReport.Builderavoiding the need to create one manually viaStatusReport.builder().When the
Consumercompletes,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:
statusReport(StatusReport)
-
-