Class DescribeTagsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.applicationdiscovery.model.DescribeTagsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeTagsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<TagFilter>
getFilters()
You can filter the list using a key-value format.Integer
getMaxResults()
The total number of items to return.String
getNextToken()
A token to start the list.int
hashCode()
void
setFilters(Collection<TagFilter> filters)
You can filter the list using a key-value format.void
setMaxResults(Integer maxResults)
The total number of items to return.void
setNextToken(String nextToken)
A token to start the list.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeTagsRequest
withFilters(TagFilter... filters)
You can filter the list using a key-value format.DescribeTagsRequest
withFilters(Collection<TagFilter> filters)
You can filter the list using a key-value format.DescribeTagsRequest
withMaxResults(Integer maxResults)
The total number of items to return.DescribeTagsRequest
withNextToken(String nextToken)
A token to start the list.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getFilters
public 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
, andconfigurationId
.- Returns:
- You can filter the list using a key-value format.
You can separate these items by using logical operators. Allowed
filters include
tagKey
,tagValue
, andconfigurationId
.
-
setFilters
public void setFilters(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
, andconfigurationId
.- Parameters:
filters
- You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters includetagKey
,tagValue
, andconfigurationId
.
-
withFilters
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
, andconfigurationId
.NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters includetagKey
,tagValue
, andconfigurationId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFilters
public DescribeTagsRequest withFilters(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
, andconfigurationId
.- Parameters:
filters
- You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters includetagKey
,tagValue
, andconfigurationId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The total number of items to return. The maximum value is 100.
- Parameters:
maxResults
- The total number of items to return. The maximum value is 100.
-
getMaxResults
public Integer getMaxResults()
The total number of items to return. The maximum value is 100.
- Returns:
- The total number of items to return. The maximum value is 100.
-
withMaxResults
public DescribeTagsRequest withMaxResults(Integer maxResults)
The total number of items to return. The maximum value is 100.
- Parameters:
maxResults
- The total number of items to return. The maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
- Parameters:
nextToken
- A token to start the list. Use this token to get the next set of results.
-
getNextToken
public String getNextToken()
A token to start the list. Use this token to get the next set of results.
- Returns:
- A token to start the list. Use this token to get the next set of results.
-
withNextToken
public DescribeTagsRequest withNextToken(String nextToken)
A token to start the list. Use this token to get the next set of results.
- Parameters:
nextToken
- A token to start the list. Use this token to get the next set of results.- 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 DescribeTagsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-