public class DescribePrefixListsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribePrefixListsRequest>
Contains the parameters for DescribePrefixLists.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private java.lang.Integer |
maxResults
The maximum number of items to return for this request.
|
private java.lang.String |
nextToken
The token for the next set of items to return.
|
private SdkInternalList<java.lang.String> |
prefixListIds
One or more prefix list IDs.
|
NOOP
Constructor and Description |
---|
DescribePrefixListsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePrefixListsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribePrefixListsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.lang.Integer |
getMaxResults()
The maximum number of items to return for this request.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
java.util.List<java.lang.String> |
getPrefixListIds()
One or more prefix list IDs.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
void |
setPrefixListIds(java.util.Collection<java.lang.String> prefixListIds)
One or more prefix list IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePrefixListsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribePrefixListsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribePrefixListsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
DescribePrefixListsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
DescribePrefixListsRequest |
withPrefixListIds(java.util.Collection<java.lang.String> prefixListIds)
One or more prefix list IDs.
|
DescribePrefixListsRequest |
withPrefixListIds(java.lang.String... prefixListIds)
One or more prefix list IDs.
|
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 SdkInternalList<java.lang.String> prefixListIds
One or more prefix list IDs.
private SdkInternalList<Filter> filters
One or more filters.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
private java.lang.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.
private java.lang.String nextToken
The token for the next set of items to return. (You received this token from a prior call.)
public java.util.List<java.lang.String> getPrefixListIds()
One or more prefix list IDs.
public void setPrefixListIds(java.util.Collection<java.lang.String> prefixListIds)
One or more prefix list IDs.
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(java.lang.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)
or
withPrefixListIds(java.util.Collection)
if you want to override
the existing values.
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(java.util.Collection<java.lang.String> prefixListIds)
One or more prefix list IDs.
prefixListIds
- One or more prefix list IDs.public java.util.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.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
public void setFilters(java.util.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.
filters
- One or more filters.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
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)
or
withFilters(java.util.Collection)
if you want to override the
existing values.
filters
- One or more filters.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
public DescribePrefixListsRequest withFilters(java.util.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.
filters
- One or more filters.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
public void setMaxResults(java.lang.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.
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.
public java.lang.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.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
public DescribePrefixListsRequest withMaxResults(java.lang.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.
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.
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a prior call.)
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a prior call.)
public DescribePrefixListsRequest withNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a prior call.)
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public Request<DescribePrefixListsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribePrefixListsRequest>
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 DescribePrefixListsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()