@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePrefixListsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribePrefixListsRequest>
NOOP
Constructor and Description |
---|
DescribePrefixListsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePrefixListsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribePrefixListsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getPrefixListIds()
One or more prefix list IDs.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
|
String |
toString()
Returns a string representation of this object.
|
DescribePrefixListsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribePrefixListsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribePrefixListsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribePrefixListsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
DescribePrefixListsRequest |
withPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
|
DescribePrefixListsRequest |
withPrefixListIds(String... prefixListIds)
One or more prefix list IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
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.
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(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(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public DescribePrefixListsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public DescribePrefixListsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public List<String> getPrefixListIds()
One or more prefix list IDs.
public void setPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
prefixListIds
- One or more prefix list IDs.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)
or withPrefixListIds(java.util.Collection)
if you want
to override the existing values.
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
prefixListIds
- One or more prefix list IDs.public Request<DescribePrefixListsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribePrefixListsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribePrefixListsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()