Class SchemaBuilder.MapDefault<R>

Enclosing class:
SchemaBuilder

public static class SchemaBuilder.MapDefault<R> extends SchemaBuilder.FieldDefault<R,SchemaBuilder.MapDefault<R>>
Choose whether to use a default value for the field or not.
  • Method Details

    • mapDefault

      public final <K, V> SchemaBuilder.FieldAssembler<R> mapDefault(Map<K,V> defaultVal)
      Completes this field with the default value provided, cannot be null