public static enum IndicesShardStoresResponse.StoreStatus.AllocationStatus extends java.lang.Enum<IndicesShardStoresResponse.StoreStatus.AllocationStatus>
Enum Constant and Description |
---|
PRIMARY
Allocated as primary
|
REPLICA
Allocated as a replica
|
UNUSED
Not allocated
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
value() |
static IndicesShardStoresResponse.StoreStatus.AllocationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndicesShardStoresResponse.StoreStatus.AllocationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndicesShardStoresResponse.StoreStatus.AllocationStatus PRIMARY
public static final IndicesShardStoresResponse.StoreStatus.AllocationStatus REPLICA
public static final IndicesShardStoresResponse.StoreStatus.AllocationStatus UNUSED
public static IndicesShardStoresResponse.StoreStatus.AllocationStatus[] values()
for (IndicesShardStoresResponse.StoreStatus.AllocationStatus c : IndicesShardStoresResponse.StoreStatus.AllocationStatus.values()) System.out.println(c);
public static IndicesShardStoresResponse.StoreStatus.AllocationStatus 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 java.lang.String value()