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.
|
AddTagsToResourceRequest.Builder resourceType(String resourceType)
Specifies the type of resource you are tagging.
resourceType - Specifies the type of resource you are tagging.ResourceTypeForTagging,
ResourceTypeForTaggingAddTagsToResourceRequest.Builder resourceType(ResourceTypeForTagging resourceType)
Specifies the type of resource you are tagging.
resourceType - Specifies the type of resource you are tagging.ResourceTypeForTagging,
ResourceTypeForTaggingAddTagsToResourceRequest.Builder resourceId(String resourceId)
The resource ID you want to tag.
For the ManagedInstance, MaintenanceWindow, and PatchBaseline values, use the ID of the resource, such as mw-01234361858c9b57b for a Maintenance Window.
For the Document and Parameter values, use the name of the resource.
resourceId - The resource ID you want to tag.
For the ManagedInstance, MaintenanceWindow, and PatchBaseline values, use the ID of the resource, such as mw-01234361858c9b57b for a Maintenance Window.
For the Document and Parameter values, use the name of the resource.
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.
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.