Enum OSFamily
- java.lang.Object
-
- java.lang.Enum<OSFamily>
-
- com.azure.resourcemanager.securityinsights.models.OSFamily
-
- All Implemented Interfaces:
Serializable
,Comparable<OSFamily>
public enum OSFamily extends Enum<OSFamily>
Defines values for OSFamily.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OSFamily
fromString(String value)
Parses a serialized value to a OSFamily instance.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.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static OSFamily[] 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 (OSFamily c : OSFamily.values()) System.out.println(c);
- 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 nameNullPointerException
- 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.
-
-