Class ApiOptionalResponse.Builder<X,R>

Type Parameters:
X - type of the entity, such asJsonObject
R - type of the response created from entity
All Implemented Interfaces:
Builder<ApiOptionalResponse.Builder<X,R>,ApiOptionalResponse<R>>, ResponseBuilder<ApiOptionalResponse.Builder<X,R>,ApiOptionalResponse<R>,X>, Supplier<ApiOptionalResponse<R>>
Enclosing class:
ApiOptionalResponse<R>

public static final class ApiOptionalResponse.Builder<X,R> extends ApiOptionalResponse.BuilderBase<ApiOptionalResponse.Builder<X,R>,ApiOptionalResponse<R>,X,R>
Fluent API builder for ApiOptionalResponse.
  • Method Details

    • build

      public ApiOptionalResponse<R> build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Returns:
      instance of the built type