public static interface DescribeCapacityReservationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeCapacityReservationsResponse.Builder,DescribeCapacityReservationsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeCapacityReservationsResponse.Builder |
capacityReservations(CapacityReservation... capacityReservations)
Information about the Capacity Reservations.
|
DescribeCapacityReservationsResponse.Builder |
capacityReservations(Collection<CapacityReservation> capacityReservations)
Information about the Capacity Reservations.
|
DescribeCapacityReservationsResponse.Builder |
capacityReservations(Consumer<CapacityReservation.Builder>... capacityReservations)
Information about the Capacity Reservations.
|
DescribeCapacityReservationsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildDescribeCapacityReservationsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are
no more results to return.DescribeCapacityReservationsResponse.Builder capacityReservations(Collection<CapacityReservation> capacityReservations)
Information about the Capacity Reservations.
capacityReservations - Information about the Capacity Reservations.DescribeCapacityReservationsResponse.Builder capacityReservations(CapacityReservation... capacityReservations)
Information about the Capacity Reservations.
capacityReservations - Information about the Capacity Reservations.DescribeCapacityReservationsResponse.Builder capacityReservations(Consumer<CapacityReservation.Builder>... capacityReservations)
Information about the Capacity Reservations.
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 #capacityReservations(List) .capacityReservations - a consumer that will call methods on List.Builder #capacityReservations(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.