public class DescribeMovingAddressesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeMovingAddressesRequest>
Contains the parameters for DescribeMovingAddresses.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private java.lang.Integer |
maxResults
The maximum number of results to return for the request in a single page.
|
private java.lang.String |
nextToken
The token to use to retrieve the next page of results.
|
private SdkInternalList<java.lang.String> |
publicIps
One or more Elastic IP addresses.
|
NOOP
Constructor and Description |
---|
DescribeMovingAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeMovingAddressesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeMovingAddressesRequest> |
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 results to return for the request in a single page.
|
java.lang.String |
getNextToken()
The token to use to retrieve the next page of results.
|
java.util.List<java.lang.String> |
getPublicIps()
One or more Elastic IP addresses.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPublicIps(java.util.Collection<java.lang.String> publicIps)
One or more Elastic IP addresses.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMovingAddressesRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeMovingAddressesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeMovingAddressesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeMovingAddressesRequest |
withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
DescribeMovingAddressesRequest |
withPublicIps(java.util.Collection<java.lang.String> publicIps)
One or more Elastic IP addresses.
|
DescribeMovingAddressesRequest |
withPublicIps(java.lang.String... publicIps)
One or more Elastic IP addresses.
|
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> publicIps
One or more Elastic IP addresses.
private java.lang.String nextToken
The token to use to retrieve the next page of results.
private SdkInternalList<Filter> filters
One or more filters.
moving-status
- The status of the Elastic IP address (
MovingToVpc
| RestoringToClassic
).
private java.lang.Integer maxResults
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. This
value can be between 5 and 1000; if MaxResults
is given a
value outside of this range, an error is returned.
Default: If no value is provided, the default is 1000.
public java.util.List<java.lang.String> getPublicIps()
One or more Elastic IP addresses.
public void setPublicIps(java.util.Collection<java.lang.String> publicIps)
One or more Elastic IP addresses.
publicIps
- One or more Elastic IP addresses.public DescribeMovingAddressesRequest withPublicIps(java.lang.String... publicIps)
One or more Elastic IP addresses.
NOTE: This method appends the values to the existing list (if
any). Use setPublicIps(java.util.Collection)
or
withPublicIps(java.util.Collection)
if you want to override the
existing values.
publicIps
- One or more Elastic IP addresses.public DescribeMovingAddressesRequest withPublicIps(java.util.Collection<java.lang.String> publicIps)
One or more Elastic IP addresses.
publicIps
- One or more Elastic IP addresses.public void setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public java.lang.String getNextToken()
The token to use to retrieve the next page of results.
public DescribeMovingAddressesRequest withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public java.util.List<Filter> getFilters()
One or more filters.
moving-status
- The status of the Elastic IP address (
MovingToVpc
| RestoringToClassic
).
moving-status
- The status of the Elastic IP address
(MovingToVpc
| RestoringToClassic
).
public void setFilters(java.util.Collection<Filter> filters)
One or more filters.
moving-status
- The status of the Elastic IP address (
MovingToVpc
| RestoringToClassic
).
filters
- One or more filters.
moving-status
- The status of the Elastic IP address
(MovingToVpc
| RestoringToClassic
).
public DescribeMovingAddressesRequest withFilters(Filter... filters)
One or more filters.
moving-status
- The status of the Elastic IP address (
MovingToVpc
| RestoringToClassic
).
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.
moving-status
- The status of the Elastic IP address
(MovingToVpc
| RestoringToClassic
).
public DescribeMovingAddressesRequest withFilters(java.util.Collection<Filter> filters)
One or more filters.
moving-status
- The status of the Elastic IP address (
MovingToVpc
| RestoringToClassic
).
filters
- One or more filters.
moving-status
- The status of the Elastic IP address
(MovingToVpc
| RestoringToClassic
).
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. This
value can be between 5 and 1000; if MaxResults
is given a
value outside of this range, an error is returned.
Default: If no value is provided, the default is 1000.
maxResults
- The maximum number of results to return for the request in a
single page. The remaining results of the initial request can be
seen by sending another request with the returned
NextToken
value. This value can be between 5 and
1000; if MaxResults
is given a value outside of this
range, an error is returned.
Default: If no value is provided, the default is 1000.
public java.lang.Integer getMaxResults()
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. This
value can be between 5 and 1000; if MaxResults
is given a
value outside of this range, an error is returned.
Default: If no value is provided, the default is 1000.
NextToken
value. This value can be between 5 and
1000; if MaxResults
is given a value outside of this
range, an error is returned.
Default: If no value is provided, the default is 1000.
public DescribeMovingAddressesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. This
value can be between 5 and 1000; if MaxResults
is given a
value outside of this range, an error is returned.
Default: If no value is provided, the default is 1000.
maxResults
- The maximum number of results to return for the request in a
single page. The remaining results of the initial request can be
seen by sending another request with the returned
NextToken
value. This value can be between 5 and
1000; if MaxResults
is given a value outside of this
range, an error is returned.
Default: If no value is provided, the default is 1000.
public Request<DescribeMovingAddressesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeMovingAddressesRequest>
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 DescribeMovingAddressesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()