public class UntagResourceRequest extends AmazonWebServiceRequest implements Serializable
Removes the given tags (metadata) from the resource.
| Constructor and Description |
|---|
UntagResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getResourceArn()
The ARN of the resource.
|
List<String> |
getTagKeys()
A list of the keys of the tags to be removed from the resource.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of the resource.
|
void |
setTagKeys(Collection<String> tagKeys)
A list of the keys of the tags to be removed from the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UntagResourceRequest |
withResourceArn(String resourceArn)
The ARN of the resource.
|
UntagResourceRequest |
withTagKeys(Collection<String> tagKeys)
A list of the keys of the tags to be removed from the resource.
|
UntagResourceRequest |
withTagKeys(String... tagKeys)
A list of the keys of the tags to be removed from the resource.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getResourceArn()
The ARN of the resource.
The ARN of the resource.
public void setResourceArn(String resourceArn)
The ARN of the resource.
resourceArn - The ARN of the resource.
public UntagResourceRequest withResourceArn(String resourceArn)
The ARN of the resource.
Returns a reference to this object so that method calls can be chained together.
resourceArn - The ARN of the resource.
public List<String> getTagKeys()
A list of the keys of the tags to be removed from the resource.
A list of the keys of the tags to be removed from the resource.
public void setTagKeys(Collection<String> tagKeys)
A list of the keys of the tags to be removed from the resource.
tagKeys - A list of the keys of the tags to be removed from the resource.
public UntagResourceRequest withTagKeys(String... tagKeys)
A list of the keys of the tags to be removed from the resource.
Returns a reference to this object so that method calls can be chained together.
tagKeys - A list of the keys of the tags to be removed from the resource.
public UntagResourceRequest withTagKeys(Collection<String> tagKeys)
A list of the keys of the tags to be removed from the resource.
Returns a reference to this object so that method calls can be chained together.
tagKeys - A list of the keys of the tags to be removed from the resource.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.