Interface AddTagsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddTagsRequest.Builder,,AddTagsRequest> ElasticLoadBalancingRequest.Builder,SdkBuilder<AddTagsRequest.Builder,,AddTagsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddTagsRequest
@Mutable
@NotThreadSafe
public static interface AddTagsRequest.Builder
extends ElasticLoadBalancingRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancerNames(String... loadBalancerNames) The name of the load balancer.loadBalancerNames(Collection<String> loadBalancerNames) The name of the load balancer.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) tags(Collection<Tag> tags) The tags.tags(Consumer<Tag.Builder>... tags) The tags.The tags.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.elasticloadbalancing.model.ElasticLoadBalancingRequest.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
-
loadBalancerNames
The name of the load balancer. You can specify one load balancer only.
- Parameters:
loadBalancerNames- The name of the load balancer. You can specify one load balancer only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerNames
The name of the load balancer. You can specify one load balancer only.
- Parameters:
loadBalancerNames- The name of the load balancer. You can specify one load balancer only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
- Parameters:
tags- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
- Parameters:
tags- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-