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