Class CapacityReservationStatus

    • Method Detail

      • capacityReservationId

        public final String capacityReservationId()

        The ID of the Capacity Reservation.

        Returns:
        The ID of the Capacity Reservation.
      • totalCapacity

        public final Integer totalCapacity()

        The combined amount of Available and Unavailable capacity in the Capacity Reservation.

        Returns:
        The combined amount of Available and Unavailable capacity in the Capacity Reservation.
      • totalAvailableCapacity

        public final Integer totalAvailableCapacity()

        The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.

        Returns:
        The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.
      • totalUnavailableCapacity

        public final Integer totalUnavailableCapacity()

        The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.

        Returns:
        The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)