Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.opensearch.client.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe node can act as a client node.The node can act as a cluster manager.The node only performs coordination tasks.The node can store data.The node can store cold data.The node can store content data.The node can store frozen data.The node can store hot data.The node can store warm data.The node can perform ingest operations.Deprecated.The node can perform machine learning operations.The node can act as a remote cluster client.The node can perform transform operations.The node can only vote in cluster decisions. -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
Client
The node can act as a client node. -
ClusterManager
The node can act as a cluster manager. -
CoordinatingOnly
The node only performs coordination tasks. -
Data
The node can store data. -
DataCold
The node can store cold data. -
DataContent
The node can store content data. -
DataFrozen
The node can store frozen data. -
DataHot
The node can store hot data. -
DataWarm
The node can store warm data. -
Ingest
The node can perform ingest operations. -
Master
Deprecated. -
Ml
The node can perform machine learning operations. -
RemoteClusterClient
The node can act as a remote cluster client. -
Transform
The node can perform transform operations. -
VotingOnly
The node can only vote in cluster decisions.
-
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
jsonValue
-