@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RemoveTagsFromResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
RemoveTagsFromResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource from which you want to remove tags.
|
String |
getResourceType()
The type of resource from which you want to remove a tag.
|
List<String> |
getTagKeys()
Tag keys that you want to remove from the specified resource.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource from which you want to remove tags.
|
void |
setResourceType(ResourceTypeForTagging resourceType)
The type of resource from which you want to remove a tag.
|
void |
setResourceType(String resourceType)
The type of resource from which you want to remove a tag.
|
void |
setTagKeys(Collection<String> tagKeys)
Tag keys that you want to remove from the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
RemoveTagsFromResourceRequest |
withResourceId(String resourceId)
The ID of the resource from which you want to remove tags.
|
RemoveTagsFromResourceRequest |
withResourceType(ResourceTypeForTagging resourceType)
The type of resource from which you want to remove a tag.
|
RemoveTagsFromResourceRequest |
withResourceType(String resourceType)
The type of resource from which you want to remove a tag.
|
RemoveTagsFromResourceRequest |
withTagKeys(Collection<String> tagKeys)
Tag keys that you want to remove from the specified resource.
|
RemoveTagsFromResourceRequest |
withTagKeys(String... tagKeys)
Tag keys that you want to remove from the specified resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceType(String resourceType)
The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number . For example,
mi-1a2b3c4d5e6f.
resourceType - The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number . For
example, mi-1a2b3c4d5e6f.
ResourceTypeForTaggingpublic String getResourceType()
The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number . For example,
mi-1a2b3c4d5e6f.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number . For
example, mi-1a2b3c4d5e6f.
ResourceTypeForTaggingpublic RemoveTagsFromResourceRequest withResourceType(String resourceType)
The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number . For example,
mi-1a2b3c4d5e6f.
resourceType - The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number . For
example, mi-1a2b3c4d5e6f.
ResourceTypeForTaggingpublic void setResourceType(ResourceTypeForTagging resourceType)
The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number . For example,
mi-1a2b3c4d5e6f.
resourceType - The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number . For
example, mi-1a2b3c4d5e6f.
ResourceTypeForTaggingpublic RemoveTagsFromResourceRequest withResourceType(ResourceTypeForTagging resourceType)
The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number . For example,
mi-1a2b3c4d5e6f.
resourceType - The type of resource from which you want to remove a tag.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number . For
example, mi-1a2b3c4d5e6f.
ResourceTypeForTaggingpublic void setResourceId(String resourceId)
The ID of the resource from which you want to remove tags. For example:
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
Automation: example-c160-4567-8519-012345abcde
PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN) for the
object. Specifically, ResourceID is created from the strings that come after the word
opsmetadata in the ARN. For example, an OpsMetadata object with an ARN of
arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a
ResourceID of either aws/ssm/MyGroup/appmanager or
/aws/ssm/MyGroup/appmanager.
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
resourceId - The ID of the resource from which you want to remove tags. For example:
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
Automation: example-c160-4567-8519-012345abcde
PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN) for
the object. Specifically, ResourceID is created from the strings that come after the word
opsmetadata in the ARN. For example, an OpsMetadata object with an ARN of
arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a
ResourceID of either aws/ssm/MyGroup/appmanager or
/aws/ssm/MyGroup/appmanager.
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
public String getResourceId()
The ID of the resource from which you want to remove tags. For example:
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
Automation: example-c160-4567-8519-012345abcde
PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN) for the
object. Specifically, ResourceID is created from the strings that come after the word
opsmetadata in the ARN. For example, an OpsMetadata object with an ARN of
arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a
ResourceID of either aws/ssm/MyGroup/appmanager or
/aws/ssm/MyGroup/appmanager.
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
Automation: example-c160-4567-8519-012345abcde
PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN)
for the object. Specifically, ResourceID is created from the strings that come after the
word opsmetadata in the ARN. For example, an OpsMetadata object with an ARN of
arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a
ResourceID of either aws/ssm/MyGroup/appmanager or
/aws/ssm/MyGroup/appmanager.
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
public RemoveTagsFromResourceRequest withResourceId(String resourceId)
The ID of the resource from which you want to remove tags. For example:
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
Automation: example-c160-4567-8519-012345abcde
PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN) for the
object. Specifically, ResourceID is created from the strings that come after the word
opsmetadata in the ARN. For example, an OpsMetadata object with an ARN of
arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a
ResourceID of either aws/ssm/MyGroup/appmanager or
/aws/ssm/MyGroup/appmanager.
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API operation is only for on-premises managed nodes. Specify the
name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
resourceId - The ID of the resource from which you want to remove tags. For example:
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
Automation: example-c160-4567-8519-012345abcde
PatchBaseline: pb-012345abcde
OpsMetadata object: ResourceID for tagging is created from the Amazon Resource Name (ARN) for
the object. Specifically, ResourceID is created from the strings that come after the word
opsmetadata in the ARN. For example, an OpsMetadata object with an ARN of
arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a
ResourceID of either aws/ssm/MyGroup/appmanager or
/aws/ssm/MyGroup/appmanager.
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API operation is only for on-premises managed nodes.
Specify the name of the managed node in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
public List<String> getTagKeys()
Tag keys that you want to remove from the specified resource.
public void setTagKeys(Collection<String> tagKeys)
Tag keys that you want to remove from the specified resource.
tagKeys - Tag keys that you want to remove from the specified resource.public RemoveTagsFromResourceRequest withTagKeys(String... tagKeys)
Tag keys that you want to remove from the specified resource.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeys(java.util.Collection) or withTagKeys(java.util.Collection) if you want to override
the existing values.
tagKeys - Tag keys that you want to remove from the specified resource.public RemoveTagsFromResourceRequest withTagKeys(Collection<String> tagKeys)
Tag keys that you want to remove from the specified resource.
tagKeys - Tag keys that you want to remove from the specified resource.public String toString()
toString in class ObjectObject.toString()public RemoveTagsFromResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()