public class DescribeTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTags operation.
Describes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
NOOP| Constructor and Description |
|---|
DescribeTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTagsRequest |
clone() |
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
A filter used to scope the tags to return.
|
Integer |
getMaxRecords()
The maximum number of items to return with this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A filter used to scope the tags to return.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsRequest |
withFilters(Collection<Filter> filters)
A filter used to scope the tags to return.
|
DescribeTagsRequest |
withFilters(Filter... filters)
A filter used to scope the tags to return.
|
DescribeTagsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeTagsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters - A filter used to scope the tags to return.public DescribeTagsRequest withFilters(Filter... filters)
NOTE: This method appends the values to the existing list (if
any). Use setFilters(java.util.Collection) or withFilters(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.
filters - A filter used to scope the tags to return.public DescribeTagsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters - A filter used to scope the tags to return.public String getNextToken()
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
nextToken - The token for the next set of items to return. (You received this
token from a previous call.)public DescribeTagsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
nextToken - The token for the next set of items to return. (You received this
token from a previous call.)public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
maxRecords - The maximum number of items to return with this call.public DescribeTagsRequest withMaxRecords(Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
maxRecords - The maximum number of items to return with this call.public String toString()
toString in class ObjectObject.toString()public DescribeTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.