Package com.azure.storage.queue
Enum QueueServiceVersion
- java.lang.Object
-
- java.lang.Enum<QueueServiceVersion>
-
- com.azure.storage.queue.QueueServiceVersion
-
- All Implemented Interfaces:
com.azure.core.util.ServiceVersion
,Serializable
,Comparable<QueueServiceVersion>
public enum QueueServiceVersion extends Enum<QueueServiceVersion> implements com.azure.core.util.ServiceVersion
The versions of Azure Storage Queue supported by this client library.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description V2019_02_02
Service version2019-02-02
.V2019_07_07
Service version2019-07-07
.V2019_12_12
Service version2019-12-12
.V2020_02_10
Service version2020-02-10
.V2020_04_08
Service version2020-04-08
.V2020_06_12
Service version2020-06-12
.V2020_08_04
Service version2020-08-04
.V2020_10_02
Service version2020-10-02
.V2020_12_06
Service version2020-12-06
.V2021_02_12
Service version2021-02-12
.V2021_04_10
Service version2021-04-10
.V2021_06_08
Service version2021-06-08
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueueServiceVersion
getLatest()
Gets the latest service version supported by this client libraryString
getVersion()
static QueueServiceVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueueServiceVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V2019_02_02
public static final QueueServiceVersion V2019_02_02
Service version2019-02-02
.
-
V2019_07_07
public static final QueueServiceVersion V2019_07_07
Service version2019-07-07
.
-
V2019_12_12
public static final QueueServiceVersion V2019_12_12
Service version2019-12-12
.
-
V2020_02_10
public static final QueueServiceVersion V2020_02_10
Service version2020-02-10
.
-
V2020_04_08
public static final QueueServiceVersion V2020_04_08
Service version2020-04-08
.
-
V2020_06_12
public static final QueueServiceVersion V2020_06_12
Service version2020-06-12
.
-
V2020_08_04
public static final QueueServiceVersion V2020_08_04
Service version2020-08-04
.
-
V2020_10_02
public static final QueueServiceVersion V2020_10_02
Service version2020-10-02
.
-
V2020_12_06
public static final QueueServiceVersion V2020_12_06
Service version2020-12-06
.
-
V2021_02_12
public static final QueueServiceVersion V2021_02_12
Service version2021-02-12
.
-
V2021_04_10
public static final QueueServiceVersion V2021_04_10
Service version2021-04-10
.
-
V2021_06_08
public static final QueueServiceVersion V2021_06_08
Service version2021-06-08
.
-
-
Method Detail
-
values
public static QueueServiceVersion[] 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 (QueueServiceVersion c : QueueServiceVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueueServiceVersion 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
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfacecom.azure.core.util.ServiceVersion
-
getLatest
public static QueueServiceVersion getLatest()
Gets the latest service version supported by this client library- Returns:
- the latest
QueueServiceVersion
-
-