java.lang.Object
java.lang.Enum<OSFamily>
com.azure.resourcemanager.securityinsights.models.OSFamily
All Implemented Interfaces:
Serializable, Comparable<OSFamily>, java.lang.constant.Constable

public enum OSFamily extends Enum<OSFamily>
The operating system type.
  • Enum Constant Details

    • LINUX

      public static final OSFamily LINUX
      Enum value Linux.
    • WINDOWS

      public static final OSFamily WINDOWS
      Enum value Windows.
    • ANDROID

      public static final OSFamily ANDROID
      Enum value Android.
    • IOS

      public static final OSFamily IOS
      Enum value IOS.
    • UNKNOWN

      public static final OSFamily UNKNOWN
      Enum value Unknown.
  • Method Details

    • values

      public static OSFamily[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OSFamily 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 name
      NullPointerException - if the argument is null
    • fromString

      public static OSFamily fromString(String value)
      Parses a serialized value to a OSFamily instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed OSFamily object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OSFamily>