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 DescribeMovingAddressesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Request<DescribeMovingAddressesRequest>getDryRunRequest()This method is intended for internal use only.List<Filter>getFilters()One or more filters.IntegergetMaxResults()The maximum number of results to return for the request in a single page.StringgetNextToken()The token to use to retrieve the next page of results.List<String>getPublicIps()One or more Elastic IP addresses.inthashCode()voidsetFilters(Collection<Filter> filters)One or more filters.voidsetMaxResults(Integer maxResults)The maximum number of results to return for the request in a single page.voidsetNextToken(String nextToken)The token to use to retrieve the next page of results.voidsetPublicIps(Collection<String> publicIps)One or more Elastic IP addresses.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeMovingAddressesRequestwithFilters(Filter... filters)One or more filters.DescribeMovingAddressesRequestwithFilters(Collection<Filter> filters)One or more filters.DescribeMovingAddressesRequestwithMaxResults(Integer maxResults)The maximum number of results to return for the request in a single page.DescribeMovingAddressesRequestwithNextToken(String nextToken)The token to use to retrieve the next page of results.DescribeMovingAddressesRequestwithPublicIps(String... publicIps)One or more Elastic IP addresses.DescribeMovingAddressesRequestwithPublicIps(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
NextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis 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 returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis 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
NextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis 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
NextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis 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
NextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis 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 returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis 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:
getDryRunRequestin interfaceDryRunSupportedRequest<DescribeMovingAddressesRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeMovingAddressesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-