public class DescribeTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
Constructor and Description |
---|
DescribeTagsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A filter used to scope the tags to return.
|
java.lang.Integer |
getMaxRecords()
The maximum number of items to return with this call.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A filter used to scope the tags to return.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsRequest |
withFilters(java.util.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(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeTagsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<Filter> getFilters()
A filter used to scope the tags to return.
A filter used to scope the tags to return.
public void setFilters(java.util.Collection<Filter> filters)
A filter used to scope the tags to return.
filters
- A filter used to scope the tags to return.
public DescribeTagsRequest withFilters(Filter... filters)
A filter used to scope the tags to return.
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(java.util.Collection<Filter> filters)
A filter used to scope the tags to return.
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 java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The token for the next set of items to return. (You received this token from a previous call.)
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\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(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.Integer getMaxRecords()
The maximum number of items to return with this call.
The maximum number of items to return with this call.
public void setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
maxRecords
- The maximum number of items to return with this call.
public DescribeTagsRequest withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.