public static final class SchemaBuilder.MapBuilder<R> extends SchemaBuilder.PropBuilder<SchemaBuilder.MapBuilder<R>>
SchemaBuilder.PropBuilder.prop(String, String)
.
The Map schema's properties are finalized when values()
or
values(Schema)
is called.Modifier and Type | Method and Description |
---|---|
protected SchemaBuilder.MapBuilder<R> |
self()
a self-type for chaining builder subclasses.
|
SchemaBuilder.TypeBuilder<R> |
values()
Return a type builder for configuring the map's nested values schema.
|
R |
values(Schema valueSchema)
Complete configuration of this map, setting the schema of the map values
to the schema provided.
|
prop
protected SchemaBuilder.MapBuilder<R> self()
SchemaBuilder.PropBuilder
self
in class SchemaBuilder.PropBuilder<SchemaBuilder.MapBuilder<R>>
public SchemaBuilder.TypeBuilder<R> values()
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.