public class DescribeTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<TagFilter> |
filters
You can filter the list using a key-value format.
|
private java.lang.Integer |
maxResults
The total number of items to return.
|
private java.lang.String |
nextToken
A token to start the list.
|
NOOP
Constructor and Description |
---|
DescribeTagsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<TagFilter> |
getFilters()
You can filter the list using a key-value format.
|
java.lang.Integer |
getMaxResults()
The total number of items to return.
|
java.lang.String |
getNextToken()
A token to start the list.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<TagFilter> filters)
You can filter the list using a key-value format.
|
void |
setMaxResults(java.lang.Integer maxResults)
The total number of items to return.
|
void |
setNextToken(java.lang.String nextToken)
A token to start the list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsRequest |
withFilters(java.util.Collection<TagFilter> filters)
You can filter the list using a key-value format.
|
DescribeTagsRequest |
withFilters(TagFilter... filters)
You can filter the list using a key-value format.
|
DescribeTagsRequest |
withMaxResults(java.lang.Integer maxResults)
The total number of items to return.
|
DescribeTagsRequest |
withNextToken(java.lang.String nextToken)
A token to start the list.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.util.List<TagFilter> filters
You can filter the list using a key-value format. You can
separate these items by using logical operators. Allowed filters include
tagKey
, tagValue
, and
configurationId
.
private java.lang.Integer maxResults
The total number of items to return. The maximum value is 100.
private java.lang.String nextToken
A token to start the list. Use this token to get the next set of results.
public java.util.List<TagFilter> getFilters()
You can filter the list using a key-value format. You can
separate these items by using logical operators. Allowed filters include
tagKey
, tagValue
, and
configurationId
.
tagKey
, tagValue
, and
configurationId
.public void setFilters(java.util.Collection<TagFilter> filters)
You can filter the list using a key-value format. You can
separate these items by using logical operators. Allowed filters include
tagKey
, tagValue
, and
configurationId
.
filters
- You can filter the list using a key-value format.
You can separate these items by using logical operators. Allowed
filters include tagKey
, tagValue
, and
configurationId
.public DescribeTagsRequest withFilters(TagFilter... filters)
You can filter the list using a key-value format. You can
separate these items by using logical operators. Allowed filters include
tagKey
, tagValue
, and
configurationId
.
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.
filters
- You can filter the list using a key-value format.
You can separate these items by using logical operators. Allowed
filters include tagKey
, tagValue
, and
configurationId
.public DescribeTagsRequest withFilters(java.util.Collection<TagFilter> filters)
You can filter the list using a key-value format. You can
separate these items by using logical operators. Allowed filters include
tagKey
, tagValue
, and
configurationId
.
filters
- You can filter the list using a key-value format.
You can separate these items by using logical operators. Allowed
filters include tagKey
, tagValue
, and
configurationId
.public void setMaxResults(java.lang.Integer maxResults)
The total number of items to return. The maximum value is 100.
maxResults
- The total number of items to return. The maximum value is 100.public java.lang.Integer getMaxResults()
The total number of items to return. The maximum value is 100.
public DescribeTagsRequest withMaxResults(java.lang.Integer maxResults)
The total number of items to return. The maximum value is 100.
maxResults
- The total number of items to return. The maximum value is 100.public void setNextToken(java.lang.String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of
results.public java.lang.String getNextToken()
A token to start the list. Use this token to get the next set of results.
public DescribeTagsRequest withNextToken(java.lang.String nextToken)
A token to start the list. Use this token to get the next set of results.
nextToken
- A token to start the list. Use this token to get the next set of
results.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()