/*
* 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.DescribeCapacityReservationFleetsRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeCapacityReservationFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable,
DryRunSupportedRequest
* The IDs of the Capacity Reservation Fleets to describe.
*
* The token to use to retrieve the next page of results.
*
* The maximum number of results to return for the request in a single page. The remaining results can be seen by
* sending another request with the returned
* One or more filters.
*
*
*
*
*
* The IDs of the Capacity Reservation Fleets to describe.
*
* The IDs of the Capacity Reservation Fleets to describe.
*
* The IDs of the Capacity Reservation Fleets to describe.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setCapacityReservationFleetIds(java.util.Collection)} or
* {@link #withCapacityReservationFleetIds(java.util.Collection)} if you want to override the existing values.
*
* The IDs of the Capacity Reservation Fleets to describe.
*
* The token to use to retrieve the next page of results.
*
* The token to use to retrieve the next page of results.
*
* The token to use to retrieve the next page of results.
*
* The maximum number of results to return for the request in a single page. The remaining results can be seen by
* sending another request with the returned
* The maximum number of results to return for the request in a single page. The remaining results can be seen by
* sending another request with the returned
* The maximum number of results to return for the request in a single page. The remaining results can be seen by
* sending another request with the returned
* One or more filters.
*
*
*
*
* nextToken
value. This value can be between 5 and 500. If
* maxResults
is given a larger value than 500, you receive an error.
*
*
*/
private com.amazonaws.internal.SdkInternalListstate
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
* instance-match-criteria
- The instance matching criteria for the Fleet. Only open
is
* supported.
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
* allocation-strategy
- The allocation strategy used by the Fleet. Only prioritized
is
* supported.
* nextToken
value. This value can be between 5 and 500. If
* maxResults
is given a larger value than 500, you receive an error.
* nextToken
value. This value can be between
* 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
*/
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
/**
* nextToken
value. This value can be between 5 and 500. If
* maxResults
is given a larger value than 500, you receive an error.
* nextToken
value. This value can be between
* 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* nextToken
value. This value can be between 5 and 500. If
* maxResults
is given a larger value than 500, you receive an error.
* nextToken
value. This value can be between
* 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeCapacityReservationFleetsRequest withMaxResults(Integer maxResults) {
setMaxResults(maxResults);
return this;
}
/**
*
*
*
* @return One or more filters.state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
* instance-match-criteria
- The instance matching criteria for the Fleet. Only open
is
* supported.
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
* allocation-strategy
- The allocation strategy used by the Fleet. Only prioritized
is
* supported.
*
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only
* open
is supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only
* prioritized
is supported.
*
* One or more filters. *
*
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only open
is
* supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only prioritized
is
* supported.
*
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only
* open
is supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only
* prioritized
is supported.
*
* One or more filters. *
*
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only open
is
* supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only prioritized
is
* supported.
*
* 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. *
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only
* open
is supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only
* prioritized
is supported.
*
* One or more filters. *
*
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only open
is
* supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only prioritized
is
* supported.
*
* state
- The state of the Fleet (submitted
| modifying
|
* active
| partially_fulfilled
| expiring
| expired
|
* cancelling
| cancelled
| failed
).
*
* instance-match-criteria
- The instance matching criteria for the Fleet. Only
* open
is supported.
*
* tenancy
- The tenancy of the Fleet (default
| dedicated
).
*
* allocation-strategy
- The allocation strategy used by the Fleet. Only
* prioritized
is supported.
*