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