public static interface DescribeFleetsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeFleetsRequest.Builder,DescribeFleetsRequest>
buildoverrideConfigurationcopyapplyMutation, buildDescribeFleetsRequest.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 ID of the EC2 Fleets.
fleetIds - The ID of the EC2 Fleets.DescribeFleetsRequest.Builder fleetIds(String... fleetIds)
The ID of the EC2 Fleets.
fleetIds - The ID of the EC2 Fleets.DescribeFleetsRequest.Builder filters(Collection<Filter> filters)
One or more 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 - One or more 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)
One or more 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 - One or more 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)
One or more 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)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DescribeFleetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.