public static interface AddTagsToResourceRequest.Builder extends SsmRequest.Builder, CopyableBuilder<AddTagsToResourceRequest.Builder,AddTagsToResourceRequest>
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AddTagsToResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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(Consumer<Tag.Builder>... tags)
One or more tags.
|
AddTagsToResourceRequest.Builder |
tags(Tag... tags)
One or more tags.
|
buildoverrideConfigurationcopyapplyMutation, buildAddTagsToResourceRequest.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.AddTagsToResourceRequest.Builder tags(Consumer<Tag.Builder>... 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.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) AddTagsToResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddTagsToResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2018. All rights reserved.