Enum SettingNames
- java.lang.Object
-
- java.lang.Enum<SettingNames>
-
- com.azure.resourcemanager.compute.models.SettingNames
-
- All Implemented Interfaces:
Serializable,Comparable<SettingNames>
public enum SettingNames extends Enum<SettingNames>
Defines values for SettingNames.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_LOGONEnum value AutoLogon.FIRST_LOGON_COMMANDSEnum value FirstLogonCommands.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SettingNamesfromString(String value)Parses a serialized value to a SettingNames instance.StringtoString()static SettingNamesvalueOf(String name)Returns the enum constant of this type with the specified name.static SettingNames[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO_LOGON
public static final SettingNames AUTO_LOGON
Enum value AutoLogon.
-
FIRST_LOGON_COMMANDS
public static final SettingNames FIRST_LOGON_COMMANDS
Enum value FirstLogonCommands.
-
-
Method Detail
-
values
public static SettingNames[] 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 (SettingNames c : SettingNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SettingNames 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 SettingNames fromString(String value)
Parses a serialized value to a SettingNames instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed SettingNames object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<SettingNames>
-
-