public static interface GetCapacityReservationResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetCapacityReservationResponse.Builder,GetCapacityReservationResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCapacityReservationResponse.Builder |
capacityReservation(CapacityReservation capacityReservation)
The requested capacity reservation structure.
|
default GetCapacityReservationResponse.Builder |
capacityReservation(Consumer<CapacityReservation.Builder> capacityReservation)
The requested capacity reservation structure.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCapacityReservationResponse.Builder capacityReservation(CapacityReservation capacityReservation)
The requested capacity reservation structure.
capacityReservation - The requested capacity reservation structure.default GetCapacityReservationResponse.Builder capacityReservation(Consumer<CapacityReservation.Builder> capacityReservation)
The requested capacity reservation structure.
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 capacityReservation(CapacityReservation).
capacityReservation - a consumer that will call methods on CapacityReservation.BuildercapacityReservation(CapacityReservation)Copyright © 2023. All rights reserved.