public enum SchemaRegistryVersion extends Enum<SchemaRegistryVersion> implements com.azure.core.util.ServiceVersion
Enum Constant and Description |
---|
V2017_04
2017 version
|
V2020_09_01_PREVIEW
2020 version.
|
Modifier and Type | Method and Description |
---|---|
static SchemaRegistryVersion |
getLatest()
Gets the latest version.
|
String |
getVersion() |
static SchemaRegistryVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaRegistryVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaRegistryVersion V2017_04
public static final SchemaRegistryVersion V2020_09_01_PREVIEW
public static SchemaRegistryVersion[] values()
public static SchemaRegistryVersion 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.ServiceVersion
public static SchemaRegistryVersion getLatest()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.