CopyableBuilder<ResourceTag.Builder,ResourceTag>
, SdkBuilder<ResourceTag.Builder,ResourceTag>
public static interface ResourceTag.Builder extends CopyableBuilder<ResourceTag.Builder,ResourceTag>
Modifier and Type | Method | 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(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.
NOTE: This method appends the values to the existing list (if any). Use
#setTagsList(java.util.Collection)
or #withTagsList(java.util.Collection)
if you want to
override the existing values.
tagsList
- A list of tags.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.