Interface ConfigureHealthCheckResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ConfigureHealthCheckResponse.Builder,ConfigureHealthCheckResponse>
,ElasticLoadBalancingResponse.Builder
,SdkBuilder<ConfigureHealthCheckResponse.Builder,ConfigureHealthCheckResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ConfigureHealthCheckResponse
public static interface ConfigureHealthCheckResponse.Builder extends ElasticLoadBalancingResponse.Builder, SdkPojo, CopyableBuilder<ConfigureHealthCheckResponse.Builder,ConfigureHealthCheckResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConfigureHealthCheckResponse.Builder
healthCheck(Consumer<HealthCheck.Builder> healthCheck)
The updated health check.ConfigureHealthCheckResponse.Builder
healthCheck(HealthCheck healthCheck)
The updated health check.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingResponse.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 Detail
-
healthCheck
ConfigureHealthCheckResponse.Builder healthCheck(HealthCheck 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
default ConfigureHealthCheckResponse.Builder healthCheck(Consumer<HealthCheck.Builder> healthCheck)
The updated health check.
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:
healthCheck(HealthCheck)
-
-