Class ComputeSourceExhaustion

java.lang.Object
co.yellowdog.platform.model.ComputeSourceExhaustion
All Implemented Interfaces:
Serializable

public class ComputeSourceExhaustion extends Object implements Serializable
Provides details for a compute source that is exhausted or nearing exhaustion.
See Also:
  • Method Details

    • builder

      public static ComputeSourceExhaustion.Builder builder()
    • getStatus

      public ComputeSourceExhaustionStatus getStatus()
      If the source is associated with an exhausted allowance, gets the exhaustion status.
      Returns:
      the exhaustion status, if the source is associated with an exhausted allowance; otherwise, null
    • getExpectedTermination

      public Instant getExpectedTermination()
      The expected termination time when an associated exhausted allowance's hard limit grace period will expire.
      Returns:
      the expected termination time when an associated exhausted allowance's hard limit grace period will expire
    • setStatus

      public void setStatus(ComputeSourceExhaustionStatus status)
      If the source is associated with an exhausted allowance, gets the exhaustion status.
    • setExpectedTermination

      public void setExpectedTermination(Instant expectedTermination)
      The expected termination time when an associated exhausted allowance's hard limit grace period will expire.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object