@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UntagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UntagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
UntagResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the resource from which to remove metadata tags.
|
List<String> |
getTagKeys()
The tags to be removed from the specified resource.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the resource from which to remove metadata tags.
|
void |
setTagKeys(Collection<String> tagKeys)
The tags to be removed from the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
UntagResourceRequest |
withArn(String arn)
The ARN of the resource from which to remove metadata tags.
|
UntagResourceRequest |
withTagKeys(Collection<String> tagKeys)
The tags to be removed from the specified resource.
|
UntagResourceRequest |
withTagKeys(String... tagKeys)
The tags to be removed 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, withSdkRequestTimeout
public void setArn(String arn)
The ARN of the resource from which to remove metadata tags. Required.
arn
- The ARN of the resource from which to remove metadata tags. Required.public String getArn()
The ARN of the resource from which to remove metadata tags. Required.
public UntagResourceRequest withArn(String arn)
The ARN of the resource from which to remove metadata tags. Required.
arn
- The ARN of the resource from which to remove metadata tags. Required.public List<String> getTagKeys()
The tags to be removed from the specified resource. Do not provide system tags. Required.
public void setTagKeys(Collection<String> tagKeys)
The tags to be removed from the specified resource. Do not provide system tags. Required.
tagKeys
- The tags to be removed from the specified resource. Do not provide system tags. Required.public UntagResourceRequest withTagKeys(String... tagKeys)
The tags to be removed from the specified resource. Do not provide system tags. Required.
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 tags to be removed from the specified resource. Do not provide system tags. Required.public UntagResourceRequest withTagKeys(Collection<String> tagKeys)
The tags to be removed from the specified resource. Do not provide system tags. Required.
tagKeys
- The tags to be removed from the specified resource. Do not provide system tags. Required.public String toString()
toString
in class Object
Object.toString()
public UntagResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()