Enum BlobServiceVersion

java.lang.Object
java.lang.Enum<BlobServiceVersion>
com.azure.storage.blob.BlobServiceVersion
All Implemented Interfaces:
com.azure.core.util.ServiceVersion, Serializable, Comparable<BlobServiceVersion>, java.lang.constant.Constable

public enum BlobServiceVersion extends Enum<BlobServiceVersion> implements com.azure.core.util.ServiceVersion
The versions of Azure Storage Blob supported by this client library.
  • Enum Constant Details

    • V2019_02_02

      public static final BlobServiceVersion V2019_02_02
      Service version 2019-02-02.
    • V2019_07_07

      public static final BlobServiceVersion V2019_07_07
      Service version 2019-07-07.
    • V2019_12_12

      public static final BlobServiceVersion V2019_12_12
      Service version 2019-12-12.
    • V2020_02_10

      public static final BlobServiceVersion V2020_02_10
      Service version 2020-02-10.
    • V2020_04_08

      public static final BlobServiceVersion V2020_04_08
      Service version 2020-04-08.
    • V2020_06_12

      public static final BlobServiceVersion V2020_06_12
      Service version 2020-06-12.
    • V2020_08_04

      public static final BlobServiceVersion V2020_08_04
      Service version 2020-08-04.
    • V2020_10_02

      public static final BlobServiceVersion V2020_10_02
      Service version 2020-10-02.
    • V2020_12_06

      public static final BlobServiceVersion V2020_12_06
      Service version 2020-12-06.
    • V2021_02_12

      public static final BlobServiceVersion V2021_02_12
      Service version 2021-02-12.
    • V2021_04_10

      public static final BlobServiceVersion V2021_04_10
      Service version 2021-04-10.
    • V2021_06_08

      public static final BlobServiceVersion V2021_06_08
      Service version 2021-06-08.
    • V2021_08_06

      public static final BlobServiceVersion V2021_08_06
      Service version 2021-08-06.
    • V2021_10_04

      public static final BlobServiceVersion V2021_10_04
      Service version 2021-10-04.
  • Method Details

    • values

      public static BlobServiceVersion[] 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 BlobServiceVersion 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
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface com.azure.core.util.ServiceVersion
    • getLatest

      public static BlobServiceVersion getLatest()
      Gets the latest service version supported by this client library
      Returns:
      the latest BlobServiceVersion