public class DescribeTagsResult extends Object implements Serializable, Cloneable
Contains the output from the DescribeTags
action.
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
List<TaggedResource> |
getTaggedResources()
A list of tags with their associated resources.
|
int |
hashCode() |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
void |
setTaggedResources(Collection<TaggedResource> taggedResources)
A list of tags with their associated resources.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsResult |
withMarker(String marker)
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
DescribeTagsResult |
withTaggedResources(Collection<TaggedResource> taggedResources)
A list of tags with their associated resources.
|
DescribeTagsResult |
withTaggedResources(TaggedResource... taggedResources)
A list of tags with their associated resources.
|
public List<TaggedResource> getTaggedResources()
public void setTaggedResources(Collection<TaggedResource> taggedResources)
taggedResources
- A list of tags with their associated resources.public DescribeTagsResult withTaggedResources(TaggedResource... taggedResources)
NOTE: This method appends the values to the existing list (if
any). Use setTaggedResources(java.util.Collection)
or withTaggedResources(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
taggedResources
- A list of tags with their associated resources.public DescribeTagsResult withTaggedResources(Collection<TaggedResource> taggedResources)
Returns a reference to this object so that method calls can be chained together.
taggedResources
- A list of tags with their associated resources.public String getMarker()
Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.public void setMarker(String marker)
Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.marker
- A value that indicates the starting point for the next set of response
records in a subsequent request. If a value is returned in a response,
you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.public DescribeTagsResult withMarker(String marker)
Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.
Returns a reference to this object so that method calls can be chained together.
marker
- A value that indicates the starting point for the next set of response
records in a subsequent request. If a value is returned in a response,
you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the
command. If the Marker
field is empty, all response
records have been retrieved for the request.public String toString()
toString
in class Object
Object.toString()
public DescribeTagsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.