public class DescribeMovingAddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeMovingAddressesRequest>
DescribeMovingAddresses operation
.
Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.
NOOP
Constructor and Description |
---|
DescribeMovingAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeMovingAddressesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DescribeMovingAddressesRequest> |
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 for the request in a single
page.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<String> |
getPublicIps()
One or more Elastic IP addresses.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPublicIps(Collection<String> publicIps)
One or more Elastic IP addresses.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMovingAddressesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeMovingAddressesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeMovingAddressesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
DescribeMovingAddressesRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeMovingAddressesRequest |
withPublicIps(Collection<String> publicIps)
One or more Elastic IP addresses.
|
DescribeMovingAddressesRequest |
withPublicIps(String... publicIps)
One or more Elastic IP addresses.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getPublicIps()
public void setPublicIps(Collection<String> publicIps)
publicIps
- One or more Elastic IP addresses.public DescribeMovingAddressesRequest withPublicIps(String... publicIps)
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.
Returns a reference to this object so that method calls can be chained together.
publicIps
- One or more Elastic IP addresses.public DescribeMovingAddressesRequest withPublicIps(Collection<String> publicIps)
Returns a reference to this object so that method calls can be chained together.
publicIps
- One or more Elastic IP addresses.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token to use to retrieve the next page of results.public DescribeMovingAddressesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to use to retrieve the next page of results.public List<Filter> getFilters()
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(Collection<Filter> 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)
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.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. moving-status
- The
status of the Elastic IP address (MovingToVpc
|
RestoringToClassic
).
public DescribeMovingAddressesRequest withFilters(Collection<Filter> filters)
moving-status
- The
status of the Elastic IP address (MovingToVpc
|
RestoringToClassic
).
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. moving-status
- The
status of the Elastic IP address (MovingToVpc
|
RestoringToClassic
).
public Integer getMaxResults()
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 void setMaxResults(Integer maxResults)
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 DescribeMovingAddressesRequest withMaxResults(Integer maxResults)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public DescribeMovingAddressesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.