Class FixedSlot


  • public class FixedSlot
    extends java.lang.Object
    In this slot format each slot only has the requested capacity types. This slot size is as specified by slot duration.
    • Constructor Detail

      • FixedSlot

        public FixedSlot()
    • Method Detail

      • startDateTime

        public FixedSlot startDateTime​(org.threeten.bp.OffsetDateTime startDateTime)
      • getStartDateTime

        public org.threeten.bp.OffsetDateTime getStartDateTime()
        Start date time of slot in ISO 8601 format with precision of seconds.
        Returns:
        startDateTime
      • setStartDateTime

        public void setStartDateTime​(org.threeten.bp.OffsetDateTime startDateTime)
      • scheduledCapacity

        public FixedSlot scheduledCapacity​(java.lang.Integer scheduledCapacity)
      • getScheduledCapacity

        public java.lang.Integer getScheduledCapacity()
        Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule.
        Returns:
        scheduledCapacity
      • setScheduledCapacity

        public void setScheduledCapacity​(java.lang.Integer scheduledCapacity)
      • availableCapacity

        public FixedSlot availableCapacity​(java.lang.Integer availableCapacity)
      • getAvailableCapacity

        public java.lang.Integer getAvailableCapacity()
        Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations.
        Returns:
        availableCapacity
      • setAvailableCapacity

        public void setAvailableCapacity​(java.lang.Integer availableCapacity)
      • encumberedCapacity

        public FixedSlot encumberedCapacity​(java.lang.Integer encumberedCapacity)
      • getEncumberedCapacity

        public java.lang.Integer getEncumberedCapacity()
        Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders.
        Returns:
        encumberedCapacity
      • setEncumberedCapacity

        public void setEncumberedCapacity​(java.lang.Integer encumberedCapacity)
      • reservedCapacity

        public FixedSlot reservedCapacity​(java.lang.Integer reservedCapacity)
      • getReservedCapacity

        public java.lang.Integer getReservedCapacity()
        Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch.
        Returns:
        reservedCapacity
      • setReservedCapacity

        public void setReservedCapacity​(java.lang.Integer reservedCapacity)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object