SchemaType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventhubs. models. SchemaType
- com.
- com.
public final class SchemaType
extends ExpandableStringEnum<SchemaType>
Defines values for SchemaType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Schema |
AVRO
Static value Avro for Schema |
static final
Schema |
UNKNOWN
Static value Unknown for Schema |
Constructor Summary
Constructor | Description |
---|---|
SchemaType() |
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
AVRO
public static final SchemaType AVRO
Static value Avro for SchemaType.
UNKNOWN
public static final SchemaType UNKNOWN
Static value Unknown for SchemaType.
Constructor Details
SchemaType
@Deprecated
public SchemaType()
Deprecated
Creates a new instance of SchemaType value.
Method Details
fromString
public static SchemaType fromString(String name)
Creates or finds a SchemaType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SchemaType values.
Returns:
Applies to
Azure SDK for Java