public class DescribePrefixListsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribePrefixListsRequest>
DescribePrefixLists operation
.
Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a VPC endpoint.
NOOP
Constructor and Description |
---|
DescribePrefixListsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePrefixListsRequest |
clone()
Creates a shallow clone of this request.
|
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 items to return for this request.
|
String |
getNextToken()
The token for the next set of items to return.
|
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 items to return for this request.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 items to return for this request.
|
DescribePrefixListsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribePrefixListsRequest |
withPrefixListIds(Collection<String> prefixListIds)
One or more prefix list IDs.
|
DescribePrefixListsRequest |
withPrefixListIds(String... prefixListIds)
One or more prefix list IDs.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getPrefixListIds()
public void setPrefixListIds(Collection<String> prefixListIds)
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(String... prefixListIds)
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.
Returns a reference to this object so that method calls can be chained together.
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(Collection<String> prefixListIds)
Returns a reference to this object so that method calls can be chained together.
prefixListIds
- One or more prefix list IDs.public List<Filter> getFilters()
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)
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)
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.
Returns a reference to this object so that method calls can be chained together.
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)
prefix-list-id
: The ID
of a prefix list.
prefix-list-name
: The
name of a prefix list.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. prefix-list-id
: The ID
of a prefix list.
prefix-list-name
: The
name of a prefix list.
public Integer getMaxResults()
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 void setMaxResults(Integer maxResults)
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 DescribePrefixListsRequest withMaxResults(Integer maxResults)
Constraint: If the value specified is greater than 1000, we return only 1000 items.
Returns a reference to this object so that method calls can be chained together.
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 String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token for the next set of items to return. (You received this
token from a prior call.)public DescribePrefixListsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public DescribePrefixListsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.