public static interface DescribeCapacityReservationsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeCapacityReservationsRequest.Builder,DescribeCapacityReservationsRequest>
build
overrideConfiguration
copy
applyMutation, build
DescribeCapacityReservationsRequest.Builder capacityReservationIds(Collection<String> capacityReservationIds)
The ID of the Capacity Reservation.
capacityReservationIds
- The ID of the Capacity Reservation.DescribeCapacityReservationsRequest.Builder capacityReservationIds(String... capacityReservationIds)
The ID of the Capacity Reservation.
capacityReservationIds
- The ID of the Capacity Reservation.DescribeCapacityReservationsRequest.Builder nextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.DescribeCapacityReservationsRequest.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.
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.DescribeCapacityReservationsRequest.Builder filters(Collection<Filter> filters)
One or more filters.
filters
- One or more filters.DescribeCapacityReservationsRequest.Builder filters(Filter... filters)
One or more filters.
filters
- One or more filters.DescribeCapacityReservationsRequest.Builder filters(Consumer<Filter.Builder>... filters)
One or more filters.
This is a convenience that creates an instance of theList.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)
DescribeCapacityReservationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeCapacityReservationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.