Class Schema.Builder

All Implemented Interfaces:
Prototype.Builder<Schema.Builder, Schema>, Builder<Schema.Builder, Schema>, Supplier<Schema>
Enclosing interface:
Schema

public static class Schema.Builder extends Schema.BuilderBase<Schema.Builder, Schema> implements Builder<Schema.Builder, Schema>
Fluent API builder for Schema.
  • Method Details

    • buildPrototype

      public Schema buildPrototype()
      Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      buildPrototype in interface Prototype.Builder<Schema.Builder, Schema>
      Returns:
      an instance of the setup object created from this builder
    • build

      public Schema build()
      Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      build in interface Builder<Schema.Builder, Schema>
      Returns:
      instance of the built type