SchemaCompatibility Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventhubs. models. SchemaCompatibility
- com.
- com.
public final class SchemaCompatibility
extends ExpandableStringEnum<SchemaCompatibility>
Defines values for SchemaCompatibility.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Schema |
BACKWARD
Static value Backward for Schema |
static final
Schema |
FORWARD
Static value Forward for Schema |
static final
Schema |
NONE
Static value None for Schema |
Constructor Summary
Constructor | Description |
---|---|
SchemaCompatibility() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Schema |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Schema |
fromString(String name)
Creates or finds a Schema |
static
Collection<Schema |
values()
Gets known Schema |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BACKWARD
public static final SchemaCompatibility BACKWARD
Static value Backward for SchemaCompatibility.
FORWARD
public static final SchemaCompatibility FORWARD
Static value Forward for SchemaCompatibility.
NONE
public static final SchemaCompatibility NONE
Static value None for SchemaCompatibility.
Constructor Details
SchemaCompatibility
@Deprecated
public SchemaCompatibility()
Deprecated
Creates a new instance of SchemaCompatibility value.
Method Details
fromString
public static SchemaCompatibility fromString(String name)
Creates or finds a SchemaCompatibility from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SchemaCompatibility values.
Returns:
Applies to
Azure SDK for Java