|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.AddTagsToResourceRequest
public class AddTagsToResourceRequest
Container for the parameters to the AddTagsToResource operation.
Adds metadata tags to a DB Instance. These tags can also be used with cost allocation reporting to track cost associated with a DB Instance.
For an overview on tagging DB Instances, see DB Instance Tags.
AmazonRDS.addTagsToResource(AddTagsToResourceRequest),
Serialized Form| Constructor Summary | |
|---|---|
AddTagsToResourceRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getResourceName()
The DB Instance the tags will be added to. |
List<Tag> |
getTags()
The tags to be assigned to the DB Instance. |
int |
hashCode()
|
void |
setResourceName(String resourceName)
The DB Instance the tags will be added to. |
void |
setTags(Collection<Tag> tags)
The tags to be assigned to the DB Instance. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AddTagsToResourceRequest |
withResourceName(String resourceName)
The DB Instance the tags will be added to. |
AddTagsToResourceRequest |
withTags(Collection<Tag> tags)
The tags to be assigned to the DB Instance. |
AddTagsToResourceRequest |
withTags(Tag... tags)
The tags to be assigned to the DB Instance. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddTagsToResourceRequest()
| Method Detail |
|---|
public String getResourceName()
public void setResourceName(String resourceName)
resourceName - The DB Instance the tags will be added to. This value is an Amazon
Resource Name (ARN). For information about creating an ARN, see
Constructing an RDS Amazon Resource Name (ARN).public AddTagsToResourceRequest 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 added to. This value is an Amazon
Resource Name (ARN). For information about creating an ARN, see
Constructing an RDS Amazon Resource Name (ARN).
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags - The tags to be assigned to the DB Instance.public AddTagsToResourceRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags - The tags to be assigned to the DB Instance.
public AddTagsToResourceRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags - The tags to be assigned to the DB Instance.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||