public class DescribeMovingAddressesRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
Constructor and Description |
---|
DescribeMovingAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getPublicIps()
public void setPublicIps(java.util.Collection<java.lang.String> publicIps)
publicIps
- One or more Elastic IP addresses.public DescribeMovingAddressesRequest withPublicIps(java.lang.String... publicIps)
Returns a reference to this object so that method calls can be chained together.
publicIps
- One or more Elastic IP addresses.public DescribeMovingAddressesRequest withPublicIps(java.util.Collection<java.lang.String> publicIps)
Returns a reference to this object so that method calls can be chained together.
publicIps
- One or more Elastic IP addresses.public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The token to use to retrieve the next page of results.public DescribeMovingAddressesRequest withNextToken(java.lang.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 java.util.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(java.util.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
).
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(java.util.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 java.lang.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(java.lang.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(java.lang.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 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.