public static enum GetIndexRequest.Feature extends java.lang.Enum<GetIndexRequest.Feature>
Modifier and Type | Method and Description |
---|---|
static GetIndexRequest.Feature[] |
convertToFeatures(java.lang.String... featureNames) |
static GetIndexRequest.Feature |
fromId(byte id) |
static GetIndexRequest.Feature |
fromName(java.lang.String name) |
byte |
id() |
java.lang.String |
preferredName() |
boolean |
validName(java.lang.String name) |
static GetIndexRequest.Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetIndexRequest.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetIndexRequest.Feature ALIASES
public static final GetIndexRequest.Feature MAPPINGS
public static final GetIndexRequest.Feature SETTINGS
public static GetIndexRequest.Feature[] values()
for (GetIndexRequest.Feature c : GetIndexRequest.Feature.values()) System.out.println(c);
public static GetIndexRequest.Feature valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte id()
public java.lang.String preferredName()
public boolean validName(java.lang.String name)
public static GetIndexRequest.Feature fromName(java.lang.String name)
public static GetIndexRequest.Feature fromId(byte id)
public static GetIndexRequest.Feature[] convertToFeatures(java.lang.String... featureNames)