Interface CapacityReservationStatus.Builder

  • Method Details

    • 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 Available and Unavailable capacity in the Capacity Reservation.

      Parameters:
      totalCapacity - The combined amount of Available and Unavailable capacity 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.