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