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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityReservationStatus.BuildercapacityReservationId(String capacityReservationId)The ID of the Capacity Reservation.CapacityReservationStatus.BuildertotalAvailableCapacity(Integer totalAvailableCapacity)The remaining capacity.CapacityReservationStatus.BuildertotalCapacity(Integer totalCapacity)The combined amount ofAvailableandUnavailablecapacity in the Capacity Reservation.CapacityReservationStatus.BuildertotalUnavailableCapacity(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 Detail
-
capacityReservationId
CapacityReservationStatus.Builder capacityReservationId(String 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
CapacityReservationStatus.Builder totalCapacity(Integer 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
CapacityReservationStatus.Builder totalAvailableCapacity(Integer 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.
-
totalUnavailableCapacity
CapacityReservationStatus.Builder totalUnavailableCapacity(Integer totalUnavailableCapacity)
The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.
- Parameters:
totalUnavailableCapacity- The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-