Enum InsightStatus
- java.lang.Object
-
- java.lang.Enum<InsightStatus>
-
- com.azure.resourcemanager.appservice.models.InsightStatus
-
- All Implemented Interfaces:
Serializable,Comparable<InsightStatus>
public enum InsightStatus extends Enum<InsightStatus>
Defines values for InsightStatus.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InsightStatusfromString(String value)Parses a serialized value to a InsightStatus instance.StringtoString()static InsightStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static InsightStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CRITICAL
public static final InsightStatus CRITICAL
Enum value Critical.
-
WARNING
public static final InsightStatus WARNING
Enum value Warning.
-
INFO
public static final InsightStatus INFO
Enum value Info.
-
SUCCESS
public static final InsightStatus SUCCESS
Enum value Success.
-
NONE
public static final InsightStatus NONE
Enum value None.
-
-
Method Detail
-
values
public static InsightStatus[] 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 (InsightStatus c : InsightStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InsightStatus 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 InsightStatus fromString(String value)
Parses a serialized value to a InsightStatus instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed InsightStatus object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<InsightStatus>
-
-