Class Deprecation.Builder

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

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

    • buildPrototype

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

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