public static interface ResourceTag.Builder extends CopyableBuilder<ResourceTag.Builder,ResourceTag>
Modifier and Type | Method and Description |
---|---|
ResourceTag.Builder |
resourceId(String resourceId)
Specifies the ARN of the resource.
|
ResourceTag.Builder |
tagsList(Collection<Tag> tagsList)
A list of tags.
|
ResourceTag.Builder |
tagsList(Consumer<Tag.Builder>... tagsList)
A list of tags.
|
ResourceTag.Builder |
tagsList(Tag... tagsList)
A list of tags.
|
copy
apply, build
ResourceTag.Builder resourceId(String resourceId)
Specifies the ARN of the resource.
resourceId
- Specifies the ARN of the resource.ResourceTag.Builder tagsList(Collection<Tag> tagsList)
A list of tags.
tagsList
- A list of tags.ResourceTag.Builder tagsList(Tag... tagsList)
A list of tags.
tagsList
- A list of tags.ResourceTag.Builder tagsList(Consumer<Tag.Builder>... tagsList)
A list of 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 #tagsList(List)
.tagsList
- a consumer that will call methods on List.Builder
#tagsList(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.