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