@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTagList()
A list of tags for the resource.
|
int |
hashCode() |
void |
setTagList(Collection<Tag> tagList)
A list of tags for the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTagList(Collection<Tag> tagList)
A list of tags for the resource.
|
ListTagsForResourceResult |
withTagList(Tag... tagList)
A list of tags for the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTagList()
A list of tags for the resource.
public void setTagList(Collection<Tag> tagList)
A list of tags for the resource.
tagList
- A list of tags for the resource.public ListTagsForResourceResult withTagList(Tag... tagList)
A list of tags for the resource.
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 tags for the resource.public ListTagsForResourceResult withTagList(Collection<Tag> tagList)
A list of tags for the resource.
tagList
- A list of tags for the resource.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()