Enum Class RoutingState

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

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

    • Failed

      public static final RoutingState Failed
      The allocation attempt failed.
    • Started

      public static final RoutingState Started
      The trained model is allocated and ready to accept inference requests.
    • Starting

      public static final RoutingState Starting
      The trained model is attempting to allocate on this node; inference requests are not yet accepted.
    • Stopped

      public static final RoutingState Stopped
      The trained model is fully deallocated from this node.
    • Stopping

      public static final RoutingState Stopping
      The trained model is being deallocated from this node.
  • Field Details

  • Method Details

    • values

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