Interface CapacityReservationStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityReservationStatus.Builder,
,CapacityReservationStatus> SdkBuilder<CapacityReservationStatus.Builder,
,CapacityReservationStatus> SdkPojo
- Enclosing class:
CapacityReservationStatus
@Mutable
@NotThreadSafe
public static interface CapacityReservationStatus.Builder
extends SdkPojo, CopyableBuilder<CapacityReservationStatus.Builder,CapacityReservationStatus>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationId
(String capacityReservationId) The ID of the Capacity Reservation.totalAvailableCapacity
(Integer totalAvailableCapacity) The remaining capacity.totalCapacity
(Integer totalCapacity) The combined amount ofAvailable
andUnavailable
capacity in the Capacity Reservation.totalUnavailableCapacity
(Integer totalUnavailableCapacity) The used capacity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capacityReservationId
The ID of the Capacity Reservation.
- Parameters:
capacityReservationId
- The ID of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCapacity
The combined amount of
Available
andUnavailable
capacity in the Capacity Reservation.- Parameters:
totalCapacity
- The combined amount ofAvailable
andUnavailable
capacity in the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAvailableCapacity
The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.
- Parameters:
totalAvailableCapacity
- The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-