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:
  • Constructor Details

    • DescribeMovingAddressesRequest

      public DescribeMovingAddressesRequest()
  • Method Details

    • 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) or withPublicIps(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) or withFilters(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; if MaxResults 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 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.

    • 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; 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:
      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.

    • 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; if MaxResults 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 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.

      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 interface DryRunSupportedRequest<DescribeMovingAddressesRequest>
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: