Interface GetHealthCheckStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetHealthCheckStatusResponse.Builder,,GetHealthCheckStatusResponse> Route53Response.Builder,SdkBuilder<GetHealthCheckStatusResponse.Builder,,GetHealthCheckStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetHealthCheckStatusResponse
@Mutable
@NotThreadSafe
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 oneHealthCheckObservationelement 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 oneHealthCheckObservationelement for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.healthCheckObservations(HealthCheckObservation... healthCheckObservations) A list that contains oneHealthCheckObservationelement 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
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
HealthCheckObservationelement for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.- Parameters:
healthCheckObservations- A list that contains oneHealthCheckObservationelement 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
HealthCheckObservationelement for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.- Parameters:
healthCheckObservations- A list that contains oneHealthCheckObservationelement 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 theHealthCheckObservationelement for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.HealthCheckObservation.Builderavoiding the need to create one manually viaHealthCheckObservation.builder().When the
Consumercompletes,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:
-