Class SqlConfig.Builder

All Implemented Interfaces:
Prototype.Builder<SqlConfig.Builder, SqlConfig>, Builder<SqlConfig.Builder, SqlConfig>, ConfigBuilderSupport.ConfiguredBuilder<SqlConfig.Builder, SqlConfig>, Supplier<SqlConfig>
Enclosing interface:
SqlConfig

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

    • buildPrototype

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

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