@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsToResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output from the AddTagsToResource, ListTagsForResource, and
RemoveTagsFromResource operations.
| Constructor and Description |
|---|
AddTagsToResourceResult() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTagList()
A list of cost allocation tags as key-value pairs.
|
int |
hashCode() |
void |
setTagList(Collection<Tag> tagList)
A list of cost allocation tags as key-value pairs.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsToResourceResult |
withTagList(Collection<Tag> tagList)
A list of cost allocation tags as key-value pairs.
|
AddTagsToResourceResult |
withTagList(Tag... tagList)
A list of cost allocation tags as key-value pairs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTagList()
A list of cost allocation tags as key-value pairs.
public void setTagList(Collection<Tag> tagList)
A list of cost allocation tags as key-value pairs.
tagList - A list of cost allocation tags as key-value pairs.public AddTagsToResourceResult withTagList(Tag... tagList)
A list of cost allocation tags as key-value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection) or withTagList(java.util.Collection) if you want to override
the existing values.
tagList - A list of cost allocation tags as key-value pairs.public AddTagsToResourceResult withTagList(Collection<Tag> tagList)
A list of cost allocation tags as key-value pairs.
tagList - A list of cost allocation tags as key-value pairs.public String toString()
toString in class ObjectObject.toString()public AddTagsToResourceResult clone()
Copyright © 2020. All rights reserved.