public static interface ResourceTag.Builder extends SdkPojo, 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResourceTag.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 method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagsList(List.
tagsList - a consumer that will call methods on
Tag.Builder#tagsList(java.util.Collection) Copyright © 2023. All rights reserved.