public static interface CreateCapacityReservationResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateCapacityReservationResponse.Builder,CreateCapacityReservationResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateCapacityReservationResponse.Builder |
capacityReservation(CapacityReservation capacityReservation)
Information about the Capacity Reservation.
|
default CreateCapacityReservationResponse.Builder |
capacityReservation(Consumer<CapacityReservation.Builder> capacityReservation)
Information about the Capacity Reservation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildCreateCapacityReservationResponse.Builder capacityReservation(CapacityReservation capacityReservation)
Information about the Capacity Reservation.
capacityReservation - Information about the Capacity Reservation.default CreateCapacityReservationResponse.Builder capacityReservation(Consumer<CapacityReservation.Builder> capacityReservation)
Information about the Capacity Reservation.
This is a convenience 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.