Interface ModifyTargetGroupAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyTargetGroupAttributesRequest.Builder,,ModifyTargetGroupAttributesRequest> ElasticLoadBalancingV2Request.Builder,SdkBuilder<ModifyTargetGroupAttributesRequest.Builder,,ModifyTargetGroupAttributesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyTargetGroupAttributesRequest
@Mutable
@NotThreadSafe
public static interface ModifyTargetGroupAttributesRequest.Builder
extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<ModifyTargetGroupAttributesRequest.Builder,ModifyTargetGroupAttributesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<TargetGroupAttribute> attributes) The target group attributes.attributes(Consumer<TargetGroupAttribute.Builder>... attributes) The target group attributes.attributes(TargetGroupAttribute... attributes) The target group attributes.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) targetGroupArn(String targetGroupArn) The Amazon Resource Name (ARN) of the target group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
targetGroupArn
The Amazon Resource Name (ARN) of the target group.
- Parameters:
targetGroupArn- The Amazon Resource Name (ARN) of the target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The target group attributes.
- Parameters:
attributes- The target group attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The target group attributes.
- Parameters:
attributes- The target group attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
ModifyTargetGroupAttributesRequest.Builder attributes(Consumer<TargetGroupAttribute.Builder>... attributes) The target group attributes.
This is a convenience method that creates an instance of theTargetGroupAttribute.Builderavoiding the need to create one manually viaTargetGroupAttribute.builder().When the
Consumercompletes,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:
-
overrideConfiguration
ModifyTargetGroupAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyTargetGroupAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-