Class SchemaObject.Builder

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

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

    • buildPrototype

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

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