Class DescribeMovingAddressesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeMovingAddressesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeMovingAddressesRequest>
,Serializable
,Cloneable
public class DescribeMovingAddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeMovingAddressesRequest>
Contains the parameters for DescribeMovingAddresses.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeMovingAddressesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Filter... filters)
One or more filters.DescribeMovingAddressesRequest
withFilters(Collection<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(String... publicIps)
One or more Elastic IP addresses.DescribeMovingAddressesRequest
withPublicIps(Collection<String> publicIps)
One or more Elastic IP addresses.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getPublicIps
public List<String> getPublicIps()
One or more Elastic IP addresses.
- Returns:
- One or more Elastic IP addresses.
-
setPublicIps
public void setPublicIps(Collection<String> publicIps)
One or more Elastic IP addresses.
- Parameters:
publicIps
- One or more Elastic IP addresses.
-
withPublicIps
public DescribeMovingAddressesRequest withPublicIps(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)
orwithPublicIps(java.util.Collection)
if you want to override the existing values.- Parameters:
publicIps
- One or more Elastic IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPublicIps
public DescribeMovingAddressesRequest withPublicIps(Collection<String> publicIps)
One or more Elastic IP addresses.
- Parameters:
publicIps
- One or more Elastic IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
- Parameters:
nextToken
- The token to use to retrieve the next page of results.
-
getNextToken
public String getNextToken()
The token to use to retrieve the next page of results.
- Returns:
- The token to use to retrieve the next page of results.
-
withNextToken
public DescribeMovingAddressesRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
- Parameters:
nextToken
- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
public List<Filter> getFilters()
One or more filters.
-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
- Returns:
- One or more filters.
-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
-
-
-
setFilters
public void setFilters(Collection<Filter> filters)
One or more filters.
-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
- Parameters:
filters
- One or more filters.-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
-
-
-
withFilters
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)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- One or more filters.-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
public DescribeMovingAddressesRequest withFilters(Collection<Filter> filters)
One or more filters.
-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
- Parameters:
filters
- One or more filters.-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setMaxResults
public void setMaxResults(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; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
- Parameters:
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 returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
-
getMaxResults
public 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; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
- Returns:
- 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; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
-
withMaxResults
public DescribeMovingAddressesRequest withMaxResults(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; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
- Parameters:
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 returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<DescribeMovingAddressesRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeMovingAddressesRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeMovingAddressesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-