public static interface ListCapacityReservationsResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListCapacityReservationsResponse.Builder,ListCapacityReservationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListCapacityReservationsResponse.Builder |
capacityReservations(CapacityReservation... capacityReservations)
The capacity reservations for the current account.
|
ListCapacityReservationsResponse.Builder |
capacityReservations(Collection<CapacityReservation> capacityReservations)
The capacity reservations for the current account.
|
ListCapacityReservationsResponse.Builder |
capacityReservations(Consumer<CapacityReservation.Builder>... capacityReservations)
The capacity reservations for the current account.
|
ListCapacityReservationsResponse.Builder |
nextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListCapacityReservationsResponse.Builder nextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous
request was truncated. To obtain the next set of pages, pass in the NextToken from the response object
of the previous page call.ListCapacityReservationsResponse.Builder capacityReservations(Collection<CapacityReservation> capacityReservations)
The capacity reservations for the current account.
capacityReservations - The capacity reservations for the current account.ListCapacityReservationsResponse.Builder capacityReservations(CapacityReservation... capacityReservations)
The capacity reservations for the current account.
capacityReservations - The capacity reservations for the current account.ListCapacityReservationsResponse.Builder capacityReservations(Consumer<CapacityReservation.Builder>... capacityReservations)
The capacity reservations for the current account.
This is a convenience method that creates an instance of theCapacityReservation.Builder avoiding the need to create
one manually via CapacityReservation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #capacityReservations(List.
capacityReservations - a consumer that will call methods on
CapacityReservation.Builder#capacityReservations(java.util.Collection) Copyright © 2023. All rights reserved.