Enum Class NodeRole

java.lang.Object
java.lang.Enum<NodeRole>
org.opensearch.client.opensearch._types.NodeRole
All Implemented Interfaces:
Serializable, Comparable<NodeRole>, Constable, JsonEnum, JsonpSerializable

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public enum NodeRole extends Enum<NodeRole> implements JsonEnum
  • Enum Constant Details

    • Client

      public static final NodeRole Client
      The node can act as a client node.
    • ClusterManager

      public static final NodeRole ClusterManager
      The node can act as a cluster manager.
    • CoordinatingOnly

      public static final NodeRole CoordinatingOnly
      The node only performs coordination tasks.
    • Data

      public static final NodeRole Data
      The node can store data.
    • DataCold

      public static final NodeRole DataCold
      The node can store cold data.
    • DataContent

      public static final NodeRole DataContent
      The node can store content data.
    • DataFrozen

      public static final NodeRole DataFrozen
      The node can store frozen data.
    • DataHot

      public static final NodeRole DataHot
      The node can store hot data.
    • DataWarm

      public static final NodeRole DataWarm
      The node can store warm data.
    • Ingest

      public static final NodeRole Ingest
      The node can perform ingest operations.
    • Master

      @Deprecated public static final NodeRole Master
      Deprecated.
    • Ml

      public static final NodeRole Ml
      The node can perform machine learning operations.
    • RemoteClusterClient

      public static final NodeRole RemoteClusterClient
      The node can act as a remote cluster client.
    • Transform

      public static final NodeRole Transform
      The node can perform transform operations.
    • VotingOnly

      public static final NodeRole VotingOnly
      The node can only vote in cluster decisions.
  • 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