Interface UpdateHealthCheckResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateHealthCheckResponse.Builder,
,UpdateHealthCheckResponse> Route53Response.Builder
,SdkBuilder<UpdateHealthCheckResponse.Builder,
,UpdateHealthCheckResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateHealthCheckResponse
public static interface UpdateHealthCheckResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<UpdateHealthCheckResponse.Builder,UpdateHealthCheckResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhealthCheck
(Consumer<HealthCheck.Builder> healthCheck) A complex type that contains the response to anUpdateHealthCheck
request.healthCheck
(HealthCheck healthCheck) A complex type that contains the response to anUpdateHealthCheck
request.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
-
healthCheck
A complex type that contains the response to an
UpdateHealthCheck
request.- Parameters:
healthCheck
- A complex type that contains the response to anUpdateHealthCheck
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
A complex type that contains the response to an
This is a convenience method that creates an instance of theUpdateHealthCheck
request.HealthCheck.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:
-