Interface ModifyTargetGroupAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyTargetGroupAttributesResponse.Builder,
,ModifyTargetGroupAttributesResponse> ElasticLoadBalancingV2Response.Builder
,SdkBuilder<ModifyTargetGroupAttributesResponse.Builder,
,ModifyTargetGroupAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyTargetGroupAttributesResponse
public static interface ModifyTargetGroupAttributesResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<ModifyTargetGroupAttributesResponse.Builder,ModifyTargetGroupAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<TargetGroupAttribute> attributes) Information about the attributes.attributes
(Consumer<TargetGroupAttribute.Builder>... attributes) Information about the attributes.attributes
(TargetGroupAttribute... attributes) Information about the attributes.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 Details
-
attributes
Information about the attributes.
- Parameters:
attributes
- Information about the attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Information about the attributes.
- Parameters:
attributes
- Information about the attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
ModifyTargetGroupAttributesResponse.Builder attributes(Consumer<TargetGroupAttribute.Builder>... attributes) Information about the 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:
-