@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum AutoTuneState extends Enum<AutoTuneState>
The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.
Enum Constant and Description |
---|
DISABLE_IN_PROGRESS |
DISABLED |
DISABLED_AND_ROLLBACK_COMPLETE |
DISABLED_AND_ROLLBACK_ERROR |
DISABLED_AND_ROLLBACK_IN_PROGRESS |
DISABLED_AND_ROLLBACK_SCHEDULED |
ENABLE_IN_PROGRESS |
ENABLED |
ERROR |
Modifier and Type | Method and Description |
---|---|
static AutoTuneState |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static AutoTuneState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoTuneState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoTuneState ENABLED
public static final AutoTuneState DISABLED
public static final AutoTuneState ENABLE_IN_PROGRESS
public static final AutoTuneState DISABLE_IN_PROGRESS
public static final AutoTuneState DISABLED_AND_ROLLBACK_SCHEDULED
public static final AutoTuneState DISABLED_AND_ROLLBACK_IN_PROGRESS
public static final AutoTuneState DISABLED_AND_ROLLBACK_COMPLETE
public static final AutoTuneState DISABLED_AND_ROLLBACK_ERROR
public static final AutoTuneState ERROR
public static AutoTuneState[] values()
for (AutoTuneState c : AutoTuneState.values()) System.out.println(c);
public static AutoTuneState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<AutoTuneState>
public static AutoTuneState fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.