Interface GetHealthCheckStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetHealthCheckStatusResponse.Builder,
,GetHealthCheckStatusResponse> Route53Response.Builder
,SdkBuilder<GetHealthCheckStatusResponse.Builder,
,GetHealthCheckStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetHealthCheckStatusResponse
public static interface GetHealthCheckStatusResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetHealthCheckStatusResponse.Builder,GetHealthCheckStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhealthCheckObservations
(Collection<HealthCheckObservation> healthCheckObservations) A list that contains oneHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.healthCheckObservations
(Consumer<HealthCheckObservation.Builder>... healthCheckObservations) A list that contains oneHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.healthCheckObservations
(HealthCheckObservation... healthCheckObservations) A list that contains oneHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
healthCheckObservations
GetHealthCheckStatusResponse.Builder healthCheckObservations(Collection<HealthCheckObservation> healthCheckObservations) A list that contains one
HealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.- Parameters:
healthCheckObservations
- A list that contains oneHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckObservations
GetHealthCheckStatusResponse.Builder healthCheckObservations(HealthCheckObservation... healthCheckObservations) A list that contains one
HealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.- Parameters:
healthCheckObservations
- A list that contains oneHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckObservations
GetHealthCheckStatusResponse.Builder healthCheckObservations(Consumer<HealthCheckObservation.Builder>... healthCheckObservations) A list that contains one
This is a convenience method that creates an instance of theHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.HealthCheckObservation.Builder
avoiding the need to create one manually viaHealthCheckObservation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheckObservations(List<HealthCheckObservation>)
.- Parameters:
healthCheckObservations
- a consumer that will call methods onHealthCheckObservation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-