Class WsConfig.Builder

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

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

    • buildPrototype

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

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