Enum Class DeploymentAllocationState

java.lang.Object
java.lang.Enum<DeploymentAllocationState>
co.elastic.clients.elasticsearch.ml.DeploymentAllocationState
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<DeploymentAllocationState>, Constable

@JsonpDeserializable public enum DeploymentAllocationState extends Enum<DeploymentAllocationState> implements JsonEnum
See Also:
  • Enum Constant Details

    • Started

      public static final DeploymentAllocationState Started
      The trained model is started on at least one node.
    • Starting

      public static final DeploymentAllocationState Starting
      Trained model deployment is starting but it is not yet deployed on any nodes.
    • FullyAllocated

      public static final DeploymentAllocationState FullyAllocated
      Trained model deployment has started on all valid nodes.
  • Field Details

  • Method Details

    • values

      public static DeploymentAllocationState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DeploymentAllocationState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum