public static interface AddTagsToResourceRequest.Builder extends software.amazon.awssdk.utils.builder.CopyableBuilder<AddTagsToResourceRequest.Builder,AddTagsToResourceRequest>
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest.Builder |
resourceId(String resourceId)
The resource ID you want to tag.
|
AddTagsToResourceRequest.Builder |
resourceType(ResourceTypeForTagging resourceType)
Specifies the type of resource you are tagging.
|
AddTagsToResourceRequest.Builder |
resourceType(String resourceType)
Specifies the type of resource you are tagging.
|
AddTagsToResourceRequest.Builder |
tags(Collection<Tag> tags)
One or more tags.
|
AddTagsToResourceRequest.Builder |
tags(Tag... tags)
One or more tags.
|
copyapply, buildAddTagsToResourceRequest.Builder resourceType(String resourceType)
Specifies the type of resource you are tagging.
resourceType - Specifies the type of resource you are tagging.ResourceTypeForTaggingAddTagsToResourceRequest.Builder resourceType(ResourceTypeForTagging resourceType)
Specifies the type of resource you are tagging.
resourceType - Specifies the type of resource you are tagging.ResourceTypeForTaggingAddTagsToResourceRequest.Builder resourceId(String resourceId)
The resource ID you want to tag.
resourceId - The resource ID you want to tag.AddTagsToResourceRequest.Builder tags(Collection<Tag> tags)
One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.
tags - One or more tags. The value parameter is required, but if you don't want the tag to have a value,
specify the parameter with no value, and we set the value to an empty string.AddTagsToResourceRequest.Builder tags(Tag... tags)
One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection) or #withTags(java.util.Collection) if you want to override the
existing values.
tags - One or more tags. The value parameter is required, but if you don't want the tag to have a value,
specify the parameter with no value, and we set the value to an empty string.Copyright © 2017. All rights reserved.