public class DescribeTagsRequest extends AmazonWebServiceRequest implements Serializable
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 |
|---|---|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
The value of the filter type used to identify the tags to be returned.
|
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)
The value of the filter type used to identify the tags to be returned.
|
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)
The value of the filter type used to identify the tags to be returned.
|
DescribeTagsRequest |
withFilters(Filter... filters)
The value of the filter type used to identify the tags to be returned.
|
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, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters - The value of the filter type used to identify the tags to be returned.
For example, you can filter so that tags are returned according to
Auto Scaling group, the key and value, or whether the new tag will be
applied to instances launched after the tag is created
(PropagateAtLaunch).public DescribeTagsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters - The value of the filter type used to identify the tags to be returned.
For example, you can filter so that tags are returned according to
Auto Scaling group, the key and value, or whether the new tag will be
applied to instances launched after the tag is created
(PropagateAtLaunch).public DescribeTagsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters - The value of the filter type used to identify the tags to be returned.
For example, you can filter so that tags are returned according to
Auto Scaling group, the key and value, or whether the new tag will be
applied to instances launched after the tag is created
(PropagateAtLaunch).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()Copyright © 2014. All rights reserved.