Enum AccountKind

java.lang.Object
java.lang.Enum<AccountKind>
com.azure.storage.blob.models.AccountKind
All Implemented Interfaces:
Serializable, Comparable<AccountKind>, java.lang.constant.Constable

public enum AccountKind extends Enum<AccountKind>
Defines values for AccountKind.
  • Enum Constant Details

    • 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 Details

    • values

      public static AccountKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - 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 class Enum<AccountKind>