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