Interface DescribeTargetHealthResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTargetHealthResponse.Builder,,DescribeTargetHealthResponse> ElasticLoadBalancingV2Response.Builder,SdkBuilder<DescribeTargetHealthResponse.Builder,,DescribeTargetHealthResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 DescribeTargetHealthResponse
public static interface DescribeTargetHealthResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<DescribeTargetHealthResponse.Builder,DescribeTargetHealthResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiontargetHealthDescriptions(Collection<TargetHealthDescription> targetHealthDescriptions) Information about the health of the targets.targetHealthDescriptions(Consumer<TargetHealthDescription.Builder>... targetHealthDescriptions) Information about the health of the targets.targetHealthDescriptions(TargetHealthDescription... targetHealthDescriptions) Information about the health of the targets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.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
- 
targetHealthDescriptions
DescribeTargetHealthResponse.Builder targetHealthDescriptions(Collection<TargetHealthDescription> targetHealthDescriptions) Information about the health of the targets.
- Parameters:
 targetHealthDescriptions- Information about the health of the targets.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
targetHealthDescriptions
DescribeTargetHealthResponse.Builder targetHealthDescriptions(TargetHealthDescription... targetHealthDescriptions) Information about the health of the targets.
- Parameters:
 targetHealthDescriptions- Information about the health of the targets.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
targetHealthDescriptions
DescribeTargetHealthResponse.Builder targetHealthDescriptions(Consumer<TargetHealthDescription.Builder>... targetHealthDescriptions) Information about the health of the targets.
This is a convenience method that creates an instance of theTargetHealthDescription.Builderavoiding the need to create one manually viaTargetHealthDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetHealthDescriptions(List<TargetHealthDescription>).- Parameters:
 targetHealthDescriptions- a consumer that will call methods onTargetHealthDescription.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -