| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2 |
|
| Modifier and Type | Method and Description |
|---|---|
default CancelCapacityReservationResponse |
Ec2Client.cancelCapacityReservation(CancelCapacityReservationRequest cancelCapacityReservationRequest)
Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity
Reservation's state to
cancelled. |
default CancelCapacityReservationResponse |
Ec2Client.cancelCapacityReservation(Consumer<CancelCapacityReservationRequest.Builder> cancelCapacityReservationRequest)
Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity
Reservation's state to
cancelled. |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<CancelCapacityReservationResponse> |
Ec2AsyncClient.cancelCapacityReservation(CancelCapacityReservationRequest cancelCapacityReservationRequest)
Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity
Reservation's state to
cancelled. |
default CompletableFuture<CancelCapacityReservationResponse> |
Ec2AsyncClient.cancelCapacityReservation(Consumer<CancelCapacityReservationRequest.Builder> cancelCapacityReservationRequest)
Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity
Reservation's state to
cancelled. |
Copyright © 2021. All rights reserved.