public static interface AddTagsRequest.Builder extends ElasticLoadBalancingRequest.Builder, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
Modifier and Type | Method and Description |
---|---|
AddTagsRequest.Builder |
loadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer.
|
AddTagsRequest.Builder |
loadBalancerNames(String... loadBalancerNames)
The name of the load balancer.
|
AddTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddTagsRequest.Builder |
tags(Collection<Tag> tags)
The tags.
|
AddTagsRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags.
|
AddTagsRequest.Builder |
tags(Tag... tags)
The tags.
|
build
overrideConfiguration
copy
applyMutation, build
AddTagsRequest.Builder loadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer. You can specify one load balancer only.
loadBalancerNames
- The name of the load balancer. You can specify one load balancer only.AddTagsRequest.Builder loadBalancerNames(String... loadBalancerNames)
The name of the load balancer. You can specify one load balancer only.
loadBalancerNames
- The name of the load balancer. You can specify one load balancer only.AddTagsRequest.Builder tags(Collection<Tag> tags)
The tags.
tags
- The tags.AddTagsRequest.Builder tags(Tag... tags)
The tags.
tags
- The tags.AddTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.