Class BulkheadConfig.Builder

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

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

    • buildPrototype

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

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