Interface ModifyTargetGroupAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyTargetGroupAttributesRequest.Builder,,ModifyTargetGroupAttributesRequest> ElasticLoadBalancingV2Request.Builder,SdkBuilder<ModifyTargetGroupAttributesRequest.Builder,,ModifyTargetGroupAttributesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyTargetGroupAttributesRequest
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) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyTargetGroupAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-