public static interface DescribeCapacityReservationFleetsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeCapacityReservationFleetsRequest.Builder,DescribeCapacityReservationFleetsRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeCapacityReservationFleetsRequest.Builder capacityReservationFleetIds(Collection<String> capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to describe.DescribeCapacityReservationFleetsRequest.Builder capacityReservationFleetIds(String... capacityReservationFleetIds)
The IDs of the Capacity Reservation Fleets to describe.
capacityReservationFleetIds
- The IDs of the Capacity Reservation Fleets to describe.DescribeCapacityReservationFleetsRequest.Builder nextToken(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.DescribeCapacityReservationFleetsRequest.Builder maxResults(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.DescribeCapacityReservationFleetsRequest.Builder filters(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.
DescribeCapacityReservationFleetsRequest.Builder filters(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.
DescribeCapacityReservationFleetsRequest.Builder filters(Consumer<Filter.Builder>... 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.
Filter.Builder
avoiding the need to create one manually via
Filter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is passed to #filters(List
.
filters
- a consumer that will call methods on Filter.Builder
#filters(java.util.Collection)
DescribeCapacityReservationFleetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DescribeCapacityReservationFleetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.