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