Interface GetHealthCheckResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetHealthCheckResponse.Builder,
,GetHealthCheckResponse> Route53Response.Builder
,SdkBuilder<GetHealthCheckResponse.Builder,
,GetHealthCheckResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetHealthCheckResponse
@Mutable
@NotThreadSafe
public static interface GetHealthCheckResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<GetHealthCheckResponse.Builder,GetHealthCheckResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetHealthCheckResponse.Builder
healthCheck
(Consumer<HealthCheck.Builder> healthCheck) A complex type that contains information about one health check that is associated with the current Amazon Web Services account.healthCheck
(HealthCheck healthCheck) A complex type that contains information about one health check that is associated with the current Amazon Web Services account.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
healthCheck
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
- Parameters:
healthCheck
- A complex type that contains information about one health check that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
This is a convenience method that creates an instance of theHealthCheck.Builder
avoiding the need to create one manually viaHealthCheck.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheck(HealthCheck)
.- Parameters:
healthCheck
- a consumer that will call methods onHealthCheck.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-