public static interface AddTagsToResourceRequest.Builder extends SSMRequest.Builder, CopyableBuilder<AddTagsToResourceRequest.Builder,AddTagsToResourceRequest>
Modifier and Type | Method and Description |
---|---|
AddTagsToResourceRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
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.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
AddTagsToResourceRequest.Builder resourceType(String resourceType)
Specifies the type of resource you are tagging.
resourceType
- Specifies the type of resource you are tagging.ResourceTypeForTagging
,
ResourceTypeForTagging
AddTagsToResourceRequest.Builder resourceType(ResourceTypeForTagging resourceType)
Specifies the type of resource you are tagging.
resourceType
- Specifies the type of resource you are tagging.ResourceTypeForTagging
,
ResourceTypeForTagging
AddTagsToResourceRequest.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.AddTagsToResourceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.