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