public static interface DescribeFleetsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeFleetsRequest.Builder,DescribeFleetsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeFleetsRequest.Builder |
filters(Collection<Filter> filters)
The filters.
|
DescribeFleetsRequest.Builder |
filters(Consumer<Filter.Builder>... filters)
The filters.
|
DescribeFleetsRequest.Builder |
filters(Filter... filters)
The filters.
|
DescribeFleetsRequest.Builder |
fleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
|
DescribeFleetsRequest.Builder |
fleetIds(String... fleetIds)
The IDs of the EC2 Fleets.
|
DescribeFleetsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeFleetsRequest.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
DescribeFleetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DescribeFleetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeFleetsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The
default value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.DescribeFleetsRequest.Builder nextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.DescribeFleetsRequest.Builder fleetIds(Collection<String> fleetIds)
The IDs of the EC2 Fleets.
If a fleet is of type instant
, you must specify the fleet ID, otherwise it does not appear in
the response.
fleetIds
- The IDs of the EC2 Fleets.
If a fleet is of type instant
, you must specify the fleet ID, otherwise it does not
appear in the response.
DescribeFleetsRequest.Builder fleetIds(String... fleetIds)
The IDs of the EC2 Fleets.
If a fleet is of type instant
, you must specify the fleet ID, otherwise it does not appear in
the response.
fleetIds
- The IDs of the EC2 Fleets.
If a fleet is of type instant
, you must specify the fleet ID, otherwise it does not
appear in the response.
DescribeFleetsRequest.Builder filters(Collection<Filter> filters)
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
filters
- The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if
the target capacity is decreased below the current EC2 Fleet size (true
|
false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
|
deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy
instances (true
| false
).
type
- The type of request (instant
| request
|
maintain
).
DescribeFleetsRequest.Builder filters(Filter... filters)
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
filters
- The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if
the target capacity is decreased below the current EC2 Fleet size (true
|
false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
|
deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy
instances (true
| false
).
type
- The type of request (instant
| request
|
maintain
).
DescribeFleetsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters.
activity-status
- The progress of the EC2 Fleet ( error
|
pending-fulfillment
| pending-termination
| fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the
target capacity is decreased below the current EC2 Fleet size (true
| false
).
fleet-state
- The state of the EC2 Fleet (submitted
| active
|
deleted
| failed
| deleted-running
| deleted-terminating
| modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (
true
| false
).
type
- The type of request (instant
| request
| maintain
).
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribeFleetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DescribeFleetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.