/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.ec2.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.Request;
import com.amazonaws.services.ec2.model.transform.DescribeMovingAddressesRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeMovingAddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable,
DryRunSupportedRequest
* One or more filters.
*
*
* 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
* Default: If no value is provided, the default is 1000.
*
* The token for the next page of results.
*
* One or more Elastic IP addresses.
*
* One or more filters.
*
*
*
*/
private com.amazonaws.internal.SdkInternalListmoving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
* NextToken
value. This value can be
* between 5 and 1000; if MaxResults
is given a value outside of this range, an error is returned.
*
*
*
* @return One or more filters.moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* One or more filters. *
*
* moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* 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 * {@link #setFilters(java.util.Collection)} or {@link #withFilters(java.util.Collection)} if you want to override * the existing values. *
* * @param filters * One or more filters. *
* moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* One or more filters. *
*
* moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* moving-status
- The status of the Elastic IP address (MovingToVpc
|
* RestoringToClassic
).
*
* 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. *
* * @param 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; 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) { this.maxResults = 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. *
* * @return 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; 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 Integer getMaxResults() { return this.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. *
* * @param 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; if MaxResults
is given a value outside of this range,
* an error is returned.
* * Default: If no value is provided, the default is 1000. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMovingAddressesRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; } /** *
* The token for the next page of results. *
* * @param nextToken * The token for the next page of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** The token for the next page of results. *
* * @return The token for the next page of results. */ public String getNextToken() { return this.nextToken; } /** ** The token for the next page of results. *
* * @param nextToken * The token for the next page of results. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMovingAddressesRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** One or more Elastic IP addresses. *
* * @return One or more Elastic IP addresses. */ public java.util.List* One or more Elastic IP addresses. *
* * @param publicIps * One or more Elastic IP addresses. */ public void setPublicIps(java.util.Collection* One or more Elastic IP addresses. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPublicIps(java.util.Collection)} or {@link #withPublicIps(java.util.Collection)} if you want to * override the existing values. *
* * @param publicIps * One or more Elastic IP addresses. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMovingAddressesRequest withPublicIps(String... publicIps) { if (this.publicIps == null) { setPublicIps(new com.amazonaws.internal.SdkInternalList* One or more Elastic IP addresses. *
* * @param publicIps * One or more Elastic IP addresses. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMovingAddressesRequest withPublicIps(java.util.Collection