Enum OperatingSystem
- java.lang.Object
-
- java.lang.Enum<OperatingSystem>
-
- software.amazon.awssdk.services.ssm.model.OperatingSystem
-
- All Implemented Interfaces:
Serializable,Comparable<OperatingSystem>
@Generated("software.amazon.awssdk:codegen") public enum OperatingSystem extends Enum<OperatingSystem>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALMA_LINUXAMAZON_LINUXAMAZON_LINUX_2AMAZON_LINUX_2022AMAZON_LINUX_2023CENTOSDEBIANMACOSORACLE_LINUXRASPBIANREDHAT_ENTERPRISE_LINUXROCKY_LINUXSUSEUBUNTUUNKNOWN_TO_SDK_VERSIONWINDOWS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperatingSystemfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<OperatingSystem>knownValues()StringtoString()static OperatingSystemvalueOf(String name)Returns the enum constant of this type with the specified name.static OperatingSystem[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WINDOWS
public static final OperatingSystem WINDOWS
-
AMAZON_LINUX
public static final OperatingSystem AMAZON_LINUX
-
AMAZON_LINUX_2
public static final OperatingSystem AMAZON_LINUX_2
-
AMAZON_LINUX_2022
public static final OperatingSystem AMAZON_LINUX_2022
-
UBUNTU
public static final OperatingSystem UBUNTU
-
REDHAT_ENTERPRISE_LINUX
public static final OperatingSystem REDHAT_ENTERPRISE_LINUX
-
SUSE
public static final OperatingSystem SUSE
-
CENTOS
public static final OperatingSystem CENTOS
-
ORACLE_LINUX
public static final OperatingSystem ORACLE_LINUX
-
DEBIAN
public static final OperatingSystem DEBIAN
-
MACOS
public static final OperatingSystem MACOS
-
RASPBIAN
public static final OperatingSystem RASPBIAN
-
ROCKY_LINUX
public static final OperatingSystem ROCKY_LINUX
-
ALMA_LINUX
public static final OperatingSystem ALMA_LINUX
-
AMAZON_LINUX_2023
public static final OperatingSystem AMAZON_LINUX_2023
-
UNKNOWN_TO_SDK_VERSION
public static final OperatingSystem UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static OperatingSystem[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperatingSystem c : OperatingSystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperatingSystem valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperatingSystem>
-
fromValue
public static OperatingSystem fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- OperatingSystem corresponding to the value
-
knownValues
public static Set<OperatingSystem> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownOperatingSystems
-
-