public class ListTagsForResourcesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type containing tags for the specified resources.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ResourceTagSet> |
resourceTagSets
A list of
ResourceTagSet s containing tags associated with
the specified resources. |
Constructor and Description |
---|
ListTagsForResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourcesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ResourceTagSet> |
getResourceTagSets()
A list of
ResourceTagSet s containing tags associated with
the specified resources. |
int |
hashCode() |
void |
setResourceTagSets(java.util.Collection<ResourceTagSet> resourceTagSets)
A list of
ResourceTagSet s containing tags associated with
the specified resources. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourcesResult |
withResourceTagSets(java.util.Collection<ResourceTagSet> resourceTagSets)
A list of
ResourceTagSet s containing tags associated with
the specified resources. |
ListTagsForResourcesResult |
withResourceTagSets(ResourceTagSet... resourceTagSets)
A list of
ResourceTagSet s containing tags associated with
the specified resources. |
private SdkInternalList<ResourceTagSet> resourceTagSets
A list of ResourceTagSet
s containing tags associated with
the specified resources.
public java.util.List<ResourceTagSet> getResourceTagSets()
A list of ResourceTagSet
s containing tags associated with
the specified resources.
ResourceTagSet
s containing tags associated
with the specified resources.public void setResourceTagSets(java.util.Collection<ResourceTagSet> resourceTagSets)
A list of ResourceTagSet
s containing tags associated with
the specified resources.
resourceTagSets
- A list of ResourceTagSet
s containing tags associated
with the specified resources.public ListTagsForResourcesResult withResourceTagSets(ResourceTagSet... resourceTagSets)
A list of ResourceTagSet
s containing tags associated with
the specified resources.
NOTE: This method appends the values to the existing list (if
any). Use setResourceTagSets(java.util.Collection)
or
withResourceTagSets(java.util.Collection)
if you want to
override the existing values.
resourceTagSets
- A list of ResourceTagSet
s containing tags associated
with the specified resources.public ListTagsForResourcesResult withResourceTagSets(java.util.Collection<ResourceTagSet> resourceTagSets)
A list of ResourceTagSet
s containing tags associated with
the specified resources.
resourceTagSets
- A list of ResourceTagSet
s containing tags associated
with the specified resources.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTagsForResourcesResult clone()
clone
in class java.lang.Object