Class Keys.Builder

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

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

    • buildPrototype

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

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