Class ComputeSourceExhaustion
java.lang.Object
co.yellowdog.platform.model.ComputeSourceExhaustion
- All Implemented Interfaces:
Serializable
Provides details for a compute source that is exhausted or nearing exhaustion.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe expected termination time when an associated exhausted allowance's hard limit grace period will expire.If the source is associated with an exhausted allowance, gets the exhaustion status.inthashCode()voidsetExpectedTermination(Instant expectedTermination) The expected termination time when an associated exhausted allowance's hard limit grace period will expire.voidIf the source is associated with an exhausted allowance, gets the exhaustion status.toString()
-
Method Details
-
builder
-
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
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
If the source is associated with an exhausted allowance, gets the exhaustion status. -
setExpectedTermination
The expected termination time when an associated exhausted allowance's hard limit grace period will expire. -
equals
-
canEqual
-
hashCode
-
toString
-