Class MethodParams.Builder

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

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

    • buildPrototype

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

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