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