Package com.azure.data.tables
Enum TableServiceVersion
- java.lang.Object
-
- java.lang.Enum<TableServiceVersion>
-
- com.azure.data.tables.TableServiceVersion
-
- All Implemented Interfaces:
com.azure.core.util.ServiceVersion,Serializable,Comparable<TableServiceVersion>
public enum TableServiceVersion extends Enum<TableServiceVersion> implements com.azure.core.util.ServiceVersion
The versions of Tables REST API supported by this client library.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description V2019_02_02API version 2019-02-02
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableServiceVersiongetLatest()Gets the latest REST API version supported by this client library.StringgetVersion()static TableServiceVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static TableServiceVersion[]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 TableServiceVersion V2019_02_02
API version 2019-02-02
-
-
Method Detail
-
values
public static TableServiceVersion[] 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 (TableServiceVersion c : TableServiceVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableServiceVersion 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:
getVersionin interfacecom.azure.core.util.ServiceVersion
-
getLatest
public static TableServiceVersion getLatest()
Gets the latest REST API version supported by this client library.- Returns:
- The latest REST API version supported by this client library.
-
-