Class Order.Builder

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

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

    • buildPrototype

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

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