public static final class SchemaBuilder.FixedBuilder<R> extends SchemaBuilder.NamespacedBuilder<R,SchemaBuilder.FixedBuilder<R>>
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 Fixed schema is finalized when its required size is set via
size(int)
.Modifier and Type | Method and Description |
---|---|
protected SchemaBuilder.FixedBuilder<R> |
self()
a self-type for chaining builder subclasses.
|
R |
size(int size)
Configure this fixed type's size, and end its configuration.
|
namespace
aliases, doc
prop, prop
protected SchemaBuilder.FixedBuilder<R> self()
SchemaBuilder.PropBuilder
self
in class SchemaBuilder.PropBuilder<SchemaBuilder.FixedBuilder<R>>
public R size(int size)
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.