Enum Class NodeRole

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

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

    • Master

      public static final NodeRole Master
    • Data

      public static final NodeRole Data
    • DataCold

      public static final NodeRole DataCold
    • DataContent

      public static final NodeRole DataContent
    • DataFrozen

      public static final NodeRole DataFrozen
    • DataHot

      public static final NodeRole DataHot
    • DataWarm

      public static final NodeRole DataWarm
    • Client

      public static final NodeRole Client
    • Ingest

      public static final NodeRole Ingest
    • Ml

      public static final NodeRole Ml
    • VotingOnly

      public static final NodeRole VotingOnly
    • Transform

      public static final NodeRole Transform
    • RemoteClusterClient

      public static final NodeRole RemoteClusterClient
    • CoordinatingOnly

      public static final NodeRole CoordinatingOnly
  • Field Details

  • Method Details

    • values

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