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