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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyTargetGroupAttributesRequest.Builderattributes(Collection<TargetGroupAttribute> attributes)The target group attributes.ModifyTargetGroupAttributesRequest.Builderattributes(Consumer<TargetGroupAttribute.Builder>... attributes)The target group attributes.ModifyTargetGroupAttributesRequest.Builderattributes(TargetGroupAttribute... attributes)The target group attributes.ModifyTargetGroupAttributesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyTargetGroupAttributesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyTargetGroupAttributesRequest.BuildertargetGroupArn(String targetGroupArn)The Amazon Resource Name (ARN) of the target group.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
targetGroupArn
ModifyTargetGroupAttributesRequest.Builder targetGroupArn(String 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
ModifyTargetGroupAttributesRequest.Builder attributes(Collection<TargetGroupAttribute> 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(TargetGroupAttribute... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
overrideConfiguration
ModifyTargetGroupAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyTargetGroupAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-