Class VaultOptionalResponse.BuilderBase<B extends VaultOptionalResponse.BuilderBase<B,X,R>,X,R>

Type Parameters:
B - Type of builder - a subclass of this class
X - type of entity (actual entity on HTTP communication, such as JsonObject)
R - type of response (object entity type)
All Implemented Interfaces:
Builder<B,VaultOptionalResponse<R>>, ResponseBuilder<B,VaultOptionalResponse<R>,X>, Supplier<VaultOptionalResponse<R>>
Direct Known Subclasses:
VaultOptionalResponse.Builder
Enclosing class:
VaultOptionalResponse<R>

public abstract static class VaultOptionalResponse.BuilderBase<B extends VaultOptionalResponse.BuilderBase<B,X,R>,X,R> extends ApiOptionalResponse.BuilderBase<B,VaultOptionalResponse<R>,X,R>
Base builder class for subclasses of VaultOptionalResponse.
  • Constructor Details

    • BuilderBase

      protected BuilderBase()
      Construct a new builder, should not be public.
  • Method Details

    • errors

      public B errors(List<String> errors)
      Configure list of Vault errors as read from response.
      Parameters:
      errors - errors to add
      Returns:
      updated builder