Class RestEndpoint.Builder

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

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

    • buildPrototype

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

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