Class DescribeTagsResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeTagsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeTagsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeTagsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(TaggedResource... taggedResources)
A list of tags with their associated resources.DescribeTagsResult
withTaggedResources(Collection<TaggedResource> taggedResources)
A list of tags with their associated resources.
-
-
-
Method Detail
-
getTaggedResources
public List<TaggedResource> getTaggedResources()
A list of tags with their associated resources.
- Returns:
- A list of tags with their associated resources.
-
setTaggedResources
public void setTaggedResources(Collection<TaggedResource> taggedResources)
A list of tags with their associated resources.
- Parameters:
taggedResources
- A list of tags with their associated resources.
-
withTaggedResources
public DescribeTagsResult withTaggedResources(TaggedResource... taggedResources)
A list of tags with their associated resources.
NOTE: This method appends the values to the existing list (if any). Use
setTaggedResources(java.util.Collection)
orwithTaggedResources(java.util.Collection)
if you want to override the existing values.- Parameters:
taggedResources
- A list of tags with their associated resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTaggedResources
public DescribeTagsResult withTaggedResources(Collection<TaggedResource> taggedResources)
A list of tags with their associated resources.
- Parameters:
taggedResources
- A list of tags with their associated resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String 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 theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
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 theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
-
getMarker
public String getMarker()
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 theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- 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 theMarker
field is empty, all response records have been retrieved for the request.
-
withMarker
public DescribeTagsResult withMarker(String 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 theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
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 theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeTagsResult clone()
-
-