Interface ConfigureHealthCheckResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ConfigureHealthCheckResponse.Builder,,ConfigureHealthCheckResponse> ElasticLoadBalancingResponse.Builder,SdkBuilder<ConfigureHealthCheckResponse.Builder,,ConfigureHealthCheckResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ConfigureHealthCheckResponse
@Mutable
@NotThreadSafe
public static interface ConfigureHealthCheckResponse.Builder
extends ElasticLoadBalancingResponse.Builder, SdkPojo, CopyableBuilder<ConfigureHealthCheckResponse.Builder,ConfigureHealthCheckResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhealthCheck(Consumer<HealthCheck.Builder> healthCheck) The updated health check.healthCheck(HealthCheck healthCheck) The updated health check.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingResponse.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
The updated health check.
- Parameters:
healthCheck- The updated health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
The updated health check.
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:
-