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 ofAvailableandUnavailablecapacity in the Capacity Reservation.totalUnavailableCapacity(Integer totalUnavailableCapacity) The used capacity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
AvailableandUnavailablecapacity in the Capacity Reservation.- Parameters:
totalCapacity- The combined amount ofAvailableandUnavailablecapacity 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.
-