public static interface TagDescription.Builder extends CopyableBuilder<TagDescription.Builder,TagDescription>
Modifier and Type | Method and Description |
---|---|
TagDescription.Builder |
loadBalancerName(String loadBalancerName)
The name of the load balancer.
|
TagDescription.Builder |
tags(Collection<Tag> tags)
The tags.
|
TagDescription.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags.
|
TagDescription.Builder |
tags(Tag... tags)
The tags.
|
copy
apply, build
TagDescription.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.TagDescription.Builder tags(Collection<Tag> tags)
The tags.
tags
- The tags.TagDescription.Builder tags(Tag... tags)
The tags.
tags
- The tags.TagDescription.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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.