Package com.azure.storage.blob.models
Enum AccountKind
- java.lang.Object
-
- java.lang.Enum<AccountKind>
-
- com.azure.storage.blob.models.AccountKind
-
- All Implemented Interfaces:
Serializable
,Comparable<AccountKind>
public enum AccountKind extends Enum<AccountKind>
Defines values for AccountKind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOB_STORAGE
Enum value BlobStorage.BLOCK_BLOB_STORAGE
Enum value BlockBlobStorage.FILE_STORAGE
Enum value FileStorage.STORAGE
Enum value Storage.STORAGE_V2
Enum value StorageV2.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountKind
fromString(String value)
Parses a serialized value to a AccountKind instance.String
toString()
static AccountKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccountKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORAGE
public static final AccountKind STORAGE
Enum value Storage.
-
BLOB_STORAGE
public static final AccountKind BLOB_STORAGE
Enum value BlobStorage.
-
STORAGE_V2
public static final AccountKind STORAGE_V2
Enum value StorageV2.
-
FILE_STORAGE
public static final AccountKind FILE_STORAGE
Enum value FileStorage.
-
BLOCK_BLOB_STORAGE
public static final AccountKind BLOCK_BLOB_STORAGE
Enum value BlockBlobStorage.
-
-
Method Detail
-
values
public static AccountKind[] 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 (AccountKind c : AccountKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountKind 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 AccountKind fromString(String value)
Parses a serialized value to a AccountKind instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed AccountKind object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<AccountKind>
-
-