Class SchemaItem.Builder

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

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

    • buildPrototype

      public SchemaItem 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<SchemaItem.Builder, SchemaItem>
      Returns:
      an instance of the setup object created from this builder
    • build

      public SchemaItem 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<SchemaItem.Builder, SchemaItem>
      Returns:
      instance of the built type