public static interface ConfigureHealthCheckResponse.Builder extends ElasticLoadBalancingResponse.Builder, SdkPojo, CopyableBuilder<ConfigureHealthCheckResponse.Builder,ConfigureHealthCheckResponse>
Modifier and Type | Method and Description |
---|---|
default ConfigureHealthCheckResponse.Builder |
healthCheck(Consumer<HealthCheck.Builder> healthCheck)
The updated health check.
|
ConfigureHealthCheckResponse.Builder |
healthCheck(HealthCheck healthCheck)
The updated health check.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ConfigureHealthCheckResponse.Builder healthCheck(HealthCheck healthCheck)
The updated health check.
healthCheck
- The updated health check.default ConfigureHealthCheckResponse.Builder healthCheck(Consumer<HealthCheck.Builder> healthCheck)
The updated health check.
This is a convenience that creates an instance of theHealthCheck.Builder
avoiding the need to create
one manually via HealthCheck.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to healthCheck(HealthCheck)
.healthCheck
- a consumer that will call methods on HealthCheck.Builder
healthCheck(HealthCheck)
Copyright © 2020. All rights reserved.