Interface Builder<T>

Type Parameters:
T - the type of object produced by this builder
All Known Implementing Classes:
HealthCheckResultBuilder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Builder<T>
Generic builder contract for objects that are assembled in multiple steps before being produced.

Implementations collect configuration through setters or a fluent API and then materialize the final object via build(). Being a FunctionalInterface, it can also be satisfied by a lambda or method reference wherever a deferred-construction callback is expected (for example in route template bean suppliers).

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • build

      T build()