Enum ComputeSourceStatus
- All Implemented Interfaces:
Serializable
,Comparable<ComputeSourceStatus>
,java.lang.constant.Constable
Describes the status of a compute source.
The status of a compute source indicates if there are active instances from that source, or if the source is currently being changed or has errored.
The status of a compute source indicates if there are active instances from that source, or if the source is currently being changed or has errored.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe compute source is providing at least one instance that is not terminated.The last requested action performed by YellowDog Compute with this compute source resulted in an error.The compute source is either not providing any instances or any that have been provided are now terminated.The compute source has been created and submitted to YellowDog Compute.YellowDog Compute is currently updating its usage of the compute source. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputeSourceStatus
Returns the enum constant of this type with the specified name.static ComputeSourceStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEW
The compute source has been created and submitted to YellowDog Compute. -
INACTIVE
The compute source is either not providing any instances or any that have been provided are now terminated. -
ACTIVE
The compute source is providing at least one instance that is not terminated. -
UPDATING
YellowDog Compute is currently updating its usage of the compute source. This could be provisioning or deprovisioning instances, or transitioning instances (stopping, starting, restarting, terminating) -
ERRORED
The last requested action performed by YellowDog Compute with this compute source resulted in an error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-