Enum NodeRole
- java.lang.Object
-
- java.lang.Enum<NodeRole>
-
- org.opensearch.client.opensearch._types.NodeRole
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodeRole>,JsonEnum,JsonpSerializable
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public enum NodeRole extends java.lang.Enum<NodeRole> implements JsonEnum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensearch.client.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClientThe node can act as a client node.ClusterManagerThe node can act as a cluster manager.CoordinatingOnlyThe node only performs coordination tasks.DataThe node can store data.DataColdThe node can store cold data.DataContentThe node can store content data.DataFrozenThe node can store frozen data.DataHotThe node can store hot data.DataWarmThe node can store warm data.IngestThe node can perform ingest operations.MasterDeprecated.MlThe node can perform machine learning operations.RemoteClusterClientThe node can act as a remote cluster client.TransformThe node can perform transform operations.VotingOnlyThe node can only vote in cluster decisions.
-
Field Summary
Fields Modifier and Type Field Description static JsonEnum.Deserializer<NodeRole>_DESERIALIZER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringjsonValue()static NodeRolevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NodeRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
_DESERIALIZER
public static final JsonEnum.Deserializer<NodeRole> _DESERIALIZER
-
-
Method Detail
-
values
public static NodeRole[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NodeRole c : NodeRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeRole valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-