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