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