public class UntagResourceRequest extends AmazonWebServiceRequest implements java.io.Serializable
Removes the given tags (metadata) from the resource.
Constructor and Description |
---|
UntagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceArn()
The ARN of the resource.
|
java.util.List<java.lang.String> |
getTagKeys()
A list of the keys of the tags to be removed from the resource.
|
int |
hashCode() |
void |
setResourceArn(java.lang.String resourceArn)
The ARN of the resource.
|
void |
setTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of the keys of the tags to be removed from the resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UntagResourceRequest |
withResourceArn(java.lang.String resourceArn)
The ARN of the resource.
|
UntagResourceRequest |
withTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of the keys of the tags to be removed from the resource.
|
UntagResourceRequest |
withTagKeys(java.lang.String... tagKeys)
A list of the keys of the tags to be removed from the resource.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getResourceArn()
The ARN of the resource.
The ARN of the resource.
public void setResourceArn(java.lang.String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.
public UntagResourceRequest withResourceArn(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.