Enum ComputeSourceStatus

java.lang.Object
java.lang.Enum<ComputeSourceStatus>
co.yellowdog.platform.model.ComputeSourceStatus
All Implemented Interfaces:
Serializable, Comparable<ComputeSourceStatus>, java.lang.constant.Constable

public enum ComputeSourceStatus extends Enum<ComputeSourceStatus>
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.
  • Enum Constant Details

    • NEW

      public static final ComputeSourceStatus NEW
      The compute source has been created and submitted to YellowDog Compute.
    • INACTIVE

      public static final ComputeSourceStatus INACTIVE
      The compute source is either not providing any instances or any that have been provided are now terminated.
    • ACTIVE

      public static final ComputeSourceStatus ACTIVE
      The compute source is providing at least one instance that is not terminated.
    • UPDATING

      public static final ComputeSourceStatus 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

      public static final ComputeSourceStatus ERRORED
      The last requested action performed by YellowDog Compute with this compute source resulted in an error.
  • Method Details

    • values

      public static ComputeSourceStatus[] 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

      public static ComputeSourceStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null