@Generated(value="software.amazon.awssdk:codegen") public enum OperatingSystemName extends Enum<OperatingSystemName>
| Enum Constant and Description |
|---|
AMAZON_LINUX_2 |
UBUNTU_18_04 |
UBUNTU_20_04 |
UBUNTU_22_04 |
UNKNOWN |
UNKNOWN_TO_SDK_VERSION |
WINDOWS_10 |
WINDOWS_11 |
WINDOWS_7 |
WINDOWS_SERVER_2016 |
WINDOWS_SERVER_2019 |
WINDOWS_SERVER_2022 |
| Modifier and Type | Method and Description |
|---|---|
static OperatingSystemName |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<OperatingSystemName> |
knownValues()
|
String |
toString() |
static OperatingSystemName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystemName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingSystemName AMAZON_LINUX_2
public static final OperatingSystemName UBUNTU_18_04
public static final OperatingSystemName UBUNTU_20_04
public static final OperatingSystemName UBUNTU_22_04
public static final OperatingSystemName UNKNOWN
public static final OperatingSystemName WINDOWS_10
public static final OperatingSystemName WINDOWS_11
public static final OperatingSystemName WINDOWS_7
public static final OperatingSystemName WINDOWS_SERVER_2016
public static final OperatingSystemName WINDOWS_SERVER_2019
public static final OperatingSystemName WINDOWS_SERVER_2022
public static final OperatingSystemName UNKNOWN_TO_SDK_VERSION
public static OperatingSystemName[] values()
for (OperatingSystemName c : OperatingSystemName.values()) System.out.println(c);
public static OperatingSystemName 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<OperatingSystemName>public static OperatingSystemName fromValue(String value)
value - real valuepublic static Set<OperatingSystemName> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known OperatingSystemNamesCopyright © 2023. All rights reserved.