public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RemoveTagsFromResource operation
.
Removes metadata tags from an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources .
NOOP
Constructor and Description |
---|
RemoveTagsFromResourceRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResourceName()
The Amazon RDS resource the tags will be removed from.
|
List<String> |
getTagKeys()
The tag key (name) of the tag to be removed.
|
int |
hashCode() |
void |
setResourceName(String resourceName)
The Amazon RDS resource the tags will be removed from.
|
void |
setTagKeys(Collection<String> tagKeys)
The tag key (name) of the tag to be removed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromResourceRequest |
withResourceName(String resourceName)
The Amazon RDS resource the tags will be removed from.
|
RemoveTagsFromResourceRequest |
withTagKeys(Collection<String> tagKeys)
The tag key (name) of the tag to be removed.
|
RemoveTagsFromResourceRequest |
withTagKeys(String... tagKeys)
The tag key (name) of the tag to be removed.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getResourceName()
public void setResourceName(String resourceName)
resourceName
- The Amazon RDS resource the tags will be removed from. This value is
an Amazon Resource Name (ARN). For information about creating an ARN,
see
Constructing an RDS Amazon Resource Name (ARN).public RemoveTagsFromResourceRequest withResourceName(String resourceName)
Returns a reference to this object so that method calls can be chained together.
resourceName
- The Amazon RDS resource the tags will be removed from. This value is
an Amazon Resource Name (ARN). For information about creating an ARN,
see
Constructing an RDS Amazon Resource Name (ARN).public List<String> getTagKeys()
public void setTagKeys(Collection<String> tagKeys)
tagKeys
- The tag key (name) of the tag to be removed.public RemoveTagsFromResourceRequest withTagKeys(String... tagKeys)
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.
Returns a reference to this object so that method calls can be chained together.
tagKeys
- The tag key (name) of the tag to be removed.public RemoveTagsFromResourceRequest withTagKeys(Collection<String> tagKeys)
Returns a reference to this object so that method calls can be chained together.
tagKeys
- The tag key (name) of the tag to be removed.public String toString()
toString
in class Object
Object.toString()
public RemoveTagsFromResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.