@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RecoveryResult extends Enum<RecoveryResult>
| Enum Constant and Description |
|---|
ASSOCIATE_FAIL |
ASSOCIATE_SUCCESS |
FAIL |
IN_PROGRESS |
NOT_STARTED |
PARTIAL_SUCCESS |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static RecoveryResult |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static RecoveryResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryResult NOT_STARTED
public static final RecoveryResult IN_PROGRESS
public static final RecoveryResult SUCCESS
public static final RecoveryResult FAIL
public static final RecoveryResult PARTIAL_SUCCESS
public static final RecoveryResult ASSOCIATE_SUCCESS
public static final RecoveryResult ASSOCIATE_FAIL
public static RecoveryResult[] values()
for (RecoveryResult c : RecoveryResult.values()) System.out.println(c);
public static RecoveryResult 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<RecoveryResult>public static RecoveryResult fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.