@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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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 action is only for on-premises managed instances. Specify the name of the managed instance 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
PatchBaseline: pb-012345abcde
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance 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
PatchBaseline: pb-012345abcde
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance 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
PatchBaseline: pb-012345abcde
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.
ManagedInstance: mi-012345abcde
MaintenanceWindow: mw-012345abcde
PatchBaseline: pb-012345abcde
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance 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
PatchBaseline: pb-012345abcde
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance 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
PatchBaseline: pb-012345abcde
For the Document and Parameter values, use the name of the resource.
The ManagedInstance type for this API action is only for on-premises managed instances. Specify the name of the managed instance 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()