@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UntagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Removes a tag from a given resource.
NOOP| Constructor and Description |
|---|
UntagResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
UntagResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The ARN of a resource that can be tagged.
|
List<String> |
getTagKeys()
The Tag keys to delete.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of a resource that can be tagged.
|
void |
setTagKeys(Collection<String> tagKeys)
The Tag keys to delete.
|
String |
toString()
Returns a string representation of this object.
|
UntagResourceRequest |
withResourceArn(String resourceArn)
The ARN of a resource that can be tagged.
|
UntagResourceRequest |
withTagKeys(Collection<String> tagKeys)
The Tag keys to delete.
|
UntagResourceRequest |
withTagKeys(String... tagKeys)
The Tag keys to delete.
|
addHandlerContext, copyBaseTo, 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 setResourceArn(String resourceArn)
The ARN of a resource that can be tagged.
resourceArn - The ARN of a resource that can be tagged.public String getResourceArn()
The ARN of a resource that can be tagged.
public UntagResourceRequest withResourceArn(String resourceArn)
The ARN of a resource that can be tagged.
resourceArn - The ARN of a resource that can be tagged.public List<String> getTagKeys()
The Tag keys to delete.
public void setTagKeys(Collection<String> tagKeys)
The Tag keys to delete.
tagKeys - The Tag keys to delete.public UntagResourceRequest withTagKeys(String... tagKeys)
The Tag keys to delete.
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 - The Tag keys to delete.public UntagResourceRequest withTagKeys(Collection<String> tagKeys)
The Tag keys to delete.
tagKeys - The Tag keys to delete.public String toString()
toString in class ObjectObject.toString()public UntagResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2025. All rights reserved.