public class DescribePrefixListsRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
Constructor and Description |
---|
DescribePrefixListsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getPrefixListIds()
public void setPrefixListIds(java.util.Collection<java.lang.String> prefixListIds)
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(java.lang.String... prefixListIds)
Returns a reference to this object so that method calls can be chained together.
prefixListIds
- One or more prefix list IDs.public DescribePrefixListsRequest withPrefixListIds(java.util.Collection<java.lang.String> prefixListIds)
Returns a reference to this object so that method calls can be chained together.
prefixListIds
- One or more prefix list IDs.public java.util.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(java.util.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.
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(java.util.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- 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)
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.