public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable
RemoveTagsFromResource operation.
Removes metadata tags from a DB Instance.
For an overview on tagging DB Instances, see DB Instance Tags.
| Constructor and Description |
|---|
RemoveTagsFromResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getResourceName()
The DB Instance 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 DB Instance 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 DB Instance 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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic String getResourceName()
public void setResourceName(String resourceName)
resourceName - The DB Instance 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 DB Instance 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)
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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.