public static interface TagDescription.Builder extends CopyableBuilder<TagDescription.Builder,TagDescription>
Modifier and Type | Method and Description |
---|---|
TagDescription.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
TagDescription.Builder |
tags(Collection<Tag> tags)
Information about the tags.
|
TagDescription.Builder |
tags(Consumer<Tag.Builder>... tags)
Information about the tags.
|
TagDescription.Builder |
tags(Tag... tags)
Information about the tags.
|
copy
applyMutation, build
TagDescription.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.TagDescription.Builder tags(Collection<Tag> tags)
Information about the tags.
tags
- Information about the tags.TagDescription.Builder tags(Tag... tags)
Information about the tags.
tags
- Information about the tags.TagDescription.Builder tags(Consumer<Tag.Builder>... tags)
Information about 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.