/* * 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.DescribeReservedInstancesModificationsRequestMarshaller; /** *
* Contains the parameters for DescribeReservedInstancesModifications. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstancesModificationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest* One or more filters. *
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the
* modification request. This ID is only available when the status of the modification is fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the new
* Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new Reserved
* Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* IDs for the submitted modification request. *
*/ private com.amazonaws.internal.SdkInternalList* The token to retrieve the next page of results. *
*/ private String nextToken; /** ** One or more filters. *
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the
* modification request. This ID is only available when the status of the modification is fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the new
* Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new Reserved
* Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as
* part of the modification request. This ID is only available when the status of the modification is
* fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the
* new Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved
* Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new
* Reserved Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
* | fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* One or more filters. *
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the
* modification request. This ID is only available when the status of the modification is fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the new
* Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new Reserved
* Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part
* of the modification request. This ID is only available when the status of the modification is
* fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the
* new Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved
* Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new
* Reserved Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* One or more filters. *
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the
* modification request. This ID is only available when the status of the modification is fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the new
* Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new Reserved
* Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* 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. *
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part
* of the modification request. This ID is only available when the status of the modification is
* fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the
* new Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved
* Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new
* Reserved Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* One or more filters. *
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the
* modification request. This ID is only available when the status of the modification is fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the new
* Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new Reserved
* Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* client-token
- The idempotency token for the modification request.
*
* create-date
- The time when the modification request was created.
*
* effective-date
- The time when the modification becomes effective.
*
* modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part
* of the modification request. This ID is only available when the status of the modification is
* fulfilled
.
*
* modification-result.target-configuration.availability-zone
- The Availability Zone for the
* new Reserved Instances.
*
* modification-result.target-configuration.instance-count
- The number of new Reserved
* Instances.
*
* modification-result.target-configuration.instance-type
- The instance type of the new
* Reserved Instances.
*
* reserved-instances-id
- The ID of the Reserved Instances modified.
*
* reserved-instances-modification-id
- The ID of the modification request.
*
* status
- The status of the Reserved Instances modification request (processing
|
* fulfilled
| failed
).
*
* status-message
- The reason for the status.
*
* update-date
- The time when the modification request was last updated.
*
* IDs for the submitted modification request. *
* * @return IDs for the submitted modification request. */ public java.util.List* IDs for the submitted modification request. *
* * @param reservedInstancesModificationIds * IDs for the submitted modification request. */ public void setReservedInstancesModificationIds(java.util.Collection* IDs for the submitted modification request. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setReservedInstancesModificationIds(java.util.Collection)} or * {@link #withReservedInstancesModificationIds(java.util.Collection)} if you want to override the existing values. *
* * @param reservedInstancesModificationIds * IDs for the submitted modification request. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReservedInstancesModificationsRequest withReservedInstancesModificationIds(String... reservedInstancesModificationIds) { if (this.reservedInstancesModificationIds == null) { setReservedInstancesModificationIds(new com.amazonaws.internal.SdkInternalList* IDs for the submitted modification request. *
* * @param reservedInstancesModificationIds * IDs for the submitted modification request. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReservedInstancesModificationsRequest withReservedInstancesModificationIds(java.util.Collection* The token to retrieve the next page of results. *
* * @param nextToken * The token to retrieve the next page of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** The token to retrieve the next page of results. *
* * @return The token to retrieve the next page of results. */ public String getNextToken() { return this.nextToken; } /** ** The token to retrieve the next page of results. *
* * @param nextToken * The token to retrieve the next page of results. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeReservedInstancesModificationsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** * This method is intended for internal use only. Returns the marshaled request configured with additional * parameters to enable operation dry-run. */ @Override public Request