Class SchemaType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SchemaType>
com.azure.resourcemanager.eventhubs.models.SchemaType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Defines values for SchemaType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SchemaTypeStatic value Avro for SchemaType.static final SchemaTypeStatic value Unknown for SchemaType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaTypefromString(String name) Creates or finds a SchemaType from its string representation.static Collection<SchemaType> values()Gets known SchemaType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value Unknown for SchemaType. -
AVRO
Static value Avro for SchemaType.
-
-
Constructor Details
-
SchemaType
Deprecated.Use thefromString(String)factory method.Creates a new instance of SchemaType value.
-
-
Method Details
-
fromString
Creates or finds a SchemaType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SchemaType.
-
values
Gets known SchemaType values.- Returns:
- known SchemaType values.
-
fromString(String)factory method.