Enum IndicesAliasesRequest.AliasActions.Type
- java.lang.Object
-
- java.lang.Enum<IndicesAliasesRequest.AliasActions.Type>
-
- org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest.AliasActions.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IndicesAliasesRequest.AliasActions.Type>
- Enclosing class:
- IndicesAliasesRequest.AliasActions
public static enum IndicesAliasesRequest.AliasActions.Type extends java.lang.Enum<IndicesAliasesRequest.AliasActions.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
REMOVE
REMOVE_INDEX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndicesAliasesRequest.AliasActions.Type
fromValue(byte value)
byte
value()
static IndicesAliasesRequest.AliasActions.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IndicesAliasesRequest.AliasActions.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final IndicesAliasesRequest.AliasActions.Type ADD
-
REMOVE
public static final IndicesAliasesRequest.AliasActions.Type REMOVE
-
REMOVE_INDEX
public static final IndicesAliasesRequest.AliasActions.Type REMOVE_INDEX
-
-
Method Detail
-
values
public static IndicesAliasesRequest.AliasActions.Type[] 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 (IndicesAliasesRequest.AliasActions.Type c : IndicesAliasesRequest.AliasActions.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndicesAliasesRequest.AliasActions.Type 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
-
value
public byte value()
-
fromValue
public static IndicesAliasesRequest.AliasActions.Type fromValue(byte value)
-
-