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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTargetHealthResponse.BuildertargetHealthDescriptions(Collection<TargetHealthDescription> targetHealthDescriptions)Information about the health of the targets.DescribeTargetHealthResponse.BuildertargetHealthDescriptions(Consumer<TargetHealthDescription.Builder>... targetHealthDescriptions)Information about the health of the targets.DescribeTargetHealthResponse.BuildertargetHealthDescriptions(TargetHealthDescription... targetHealthDescriptions)Information about the health of the targets.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.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
-
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 to#targetHealthDescriptions(List.) - 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:
#targetHealthDescriptions(java.util.Collection)
-
-