Class DescribePrefixListsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribePrefixListsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<DescribePrefixListsRequest>,Serializable,Cloneable
public class DescribePrefixListsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribePrefixListsRequest>
Contains the parameters for DescribePrefixLists.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribePrefixListsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribePrefixListsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Request<DescribePrefixListsRequest>getDryRunRequest()This method is intended for internal use only.List<Filter>getFilters()One or more filters.IntegergetMaxResults()The maximum number of items to return for this request.StringgetNextToken()The token for the next set of items to return.List<String>getPrefixListIds()One or more prefix list IDs.inthashCode()voidsetFilters(Collection<Filter> filters)One or more filters.voidsetMaxResults(Integer maxResults)The maximum number of items to return for this request.voidsetNextToken(String nextToken)The token for the next set of items to return.voidsetPrefixListIds(Collection<String> prefixListIds)One or more prefix list IDs.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribePrefixListsRequestwithFilters(Filter... filters)One or more filters.DescribePrefixListsRequestwithFilters(Collection<Filter> filters)One or more filters.DescribePrefixListsRequestwithMaxResults(Integer maxResults)The maximum number of items to return for this request.DescribePrefixListsRequestwithNextToken(String nextToken)The token for the next set of items to return.DescribePrefixListsRequestwithPrefixListIds(String... prefixListIds)One or more prefix list IDs.DescribePrefixListsRequestwithPrefixListIds(Collection<String> prefixListIds)One or more prefix list IDs.-
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
-
getPrefixListIds
public List<String> getPrefixListIds()
One or more prefix list IDs.
- Returns:
- One or more prefix list IDs.
-
setPrefixListIds
public void setPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
- Parameters:
prefixListIds- One or more prefix list IDs.
-
withPrefixListIds
public DescribePrefixListsRequest withPrefixListIds(String... prefixListIds)
One or more prefix list IDs.
NOTE: This method appends the values to the existing list (if any). Use
setPrefixListIds(java.util.Collection)orwithPrefixListIds(java.util.Collection)if you want to override the existing values.- Parameters:
prefixListIds- One or more prefix list IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPrefixListIds
public DescribePrefixListsRequest withPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
- Parameters:
prefixListIds- One or more prefix list IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
public List<Filter> getFilters()
One or more filters.
-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
- Returns:
- One or more filters.
-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
-
-
-
setFilters
public void setFilters(Collection<Filter> filters)
One or more filters.
-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
- Parameters:
filters- One or more filters.-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
-
-
-
withFilters
public DescribePrefixListsRequest withFilters(Filter... filters)
One or more filters.
-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
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- One or more filters.-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
public DescribePrefixListsRequest withFilters(Collection<Filter> filters)
One or more filters.
-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
- Parameters:
filters- One or more filters.-
prefix-list-id: The ID of a prefix list. -
prefix-list-name: The name of a prefix list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
- Parameters:
maxResults- The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.Constraint: If the value specified is greater than 1000, we return only 1000 items.
-
getMaxResults
public Integer getMaxResults()
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
- Returns:
- The maximum number of items to return for this request. The
request returns a token that you can specify in a subsequent call
to get the next set of results.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
-
withMaxResults
public DescribePrefixListsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
- Parameters:
maxResults- The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.Constraint: If the value specified is greater than 1000, we return only 1000 items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a prior call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a prior call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a prior call.)
- Returns:
- The token for the next set of items to return. (You received this token from a prior call.)
-
withNextToken
public DescribePrefixListsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a prior call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a prior call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<DescribePrefixListsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<DescribePrefixListsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribePrefixListsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-