public enum TextAnalyticsServiceVersion extends Enum<TextAnalyticsServiceVersion> implements com.azure.core.util.ServiceVersion
| Modifier and Type | Method and Description |
|---|---|
static TextAnalyticsServiceVersion |
getLatest()
Gets the latest service version supported by this client library
|
String |
getVersion() |
static TextAnalyticsServiceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAnalyticsServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAnalyticsServiceVersion V3_0
public static final TextAnalyticsServiceVersion V3_1
public static TextAnalyticsServiceVersion[] values()
public static TextAnalyticsServiceVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getVersion()
getVersion in interface com.azure.core.util.ServiceVersionpublic static TextAnalyticsServiceVersion getLatest()
TextAnalyticsServiceVersionVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.