Class SchemaBuilder.EnumBuilder<R>

Enclosing class:
SchemaBuilder

public static final class SchemaBuilder.EnumBuilder<R> extends SchemaBuilder.NamespacedBuilder<R,SchemaBuilder.EnumBuilder<R>>
Builds an Avro Enum type with optional properties, namespace, doc, and aliases.

Set properties with SchemaBuilder.PropBuilder.prop(String, String), namespace with SchemaBuilder.NamespacedBuilder.namespace(String), doc with SchemaBuilder.NamedBuilder.doc(String), and aliases with SchemaBuilder.NamedBuilder.aliases(String[]).

The Enum schema is finalized when its required symbols are set via symbols(String[]).