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.BuilderhealthCheck(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
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
-
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.Builderavoiding the need to create one manually viaHealthCheck.builder().When the
Consumercompletes,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:
-