@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCapacityReservationFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeCapacityReservationFleetsRequest>
NOOP
Constructor and Description |
---|
DescribeCapacityReservationFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeCapacityReservationFleetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCapacityReservationFleetIds()
The IDs of the Capacity Reservation Fleets to describe.
|
Request<DescribeCapacityReservationFleetsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
|
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCapacityReservationFleetsRequest |
withCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
|
DescribeCapacityReservationFleetsRequest |
withCapacityReservationFleetIds(String... capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
|
DescribeCapacityReservationFleetsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeCapacityReservationFleetsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeCapacityReservationFleetsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeCapacityReservationFleetsRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeCapacityReservationFleetsRequest()
public List<String> getCapacityReservationFleetIds()
The IDs of the Capacity Reservation Fleets to describe.
public void setCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to describe.public DescribeCapacityReservationFleetsRequest withCapacityReservationFleetIds(String... capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityReservationFleetIds(java.util.Collection)
or
withCapacityReservationFleetIds(java.util.Collection)
if you want to override the existing values.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to describe.public DescribeCapacityReservationFleetsRequest withCapacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to describe.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public DescribeCapacityReservationFleetsRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public void setMaxResults(Integer maxResults)
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 nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
maxResults
- 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 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()
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 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 DescribeCapacityReservationFleetsRequest withMaxResults(Integer maxResults)
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 nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
maxResults
- 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 nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public List<Filter> getFilters()
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.
public void setFilters(Collection<Filter> 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.
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.
public DescribeCapacityReservationFleetsRequest withFilters(Filter... 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.
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.
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.
public DescribeCapacityReservationFleetsRequest withFilters(Collection<Filter> 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.
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.
public Request<DescribeCapacityReservationFleetsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeCapacityReservationFleetsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeCapacityReservationFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()