Interface DescribeTargetGroupAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTargetGroupAttributesResponse.Builder,
,DescribeTargetGroupAttributesResponse> ElasticLoadBalancingV2Response.Builder
,SdkBuilder<DescribeTargetGroupAttributesResponse.Builder,
,DescribeTargetGroupAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTargetGroupAttributesResponse
public static interface DescribeTargetGroupAttributesResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<DescribeTargetGroupAttributesResponse.Builder,DescribeTargetGroupAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<TargetGroupAttribute> attributes) Information about the target group attributesattributes
(Consumer<TargetGroupAttribute.Builder>... attributes) Information about the target group attributesattributes
(TargetGroupAttribute... attributes) Information about the target group attributesMethods 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 Details
-
attributes
DescribeTargetGroupAttributesResponse.Builder attributes(Collection<TargetGroupAttribute> attributes) Information about the target group attributes
- Parameters:
attributes
- Information about the target group attributes- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Information about the target group attributes
- Parameters:
attributes
- Information about the target group attributes- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
DescribeTargetGroupAttributesResponse.Builder attributes(Consumer<TargetGroupAttribute.Builder>... attributes) Information about the target group attributes
This is a convenience method that creates an instance of theTargetGroupAttribute.Builder
avoiding the need to create one manually viaTargetGroupAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<TargetGroupAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onTargetGroupAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-