Package io.helidon.integrations.vault
Class VaultRestException.Builder
java.lang.Object
io.helidon.integrations.common.rest.ApiRestException.BaseBuilder<VaultRestException.Builder>
io.helidon.integrations.vault.VaultRestException.Builder
- All Implemented Interfaces:
Builder<VaultRestException.Builder,
,VaultRestException> Supplier<VaultRestException>
- Enclosing class:
- VaultRestException
public static class VaultRestException.Builder
extends ApiRestException.BaseBuilder<VaultRestException.Builder>
implements Builder<VaultRestException.Builder,VaultRestException>
Fluent API builder for
VaultRestException
used by RestApiBase
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.vaultErrors
(List<String> errors) Configure the vault errors read from response entity.Methods inherited from class io.helidon.integrations.common.rest.ApiRestException.BaseBuilder
apiSpecificError, cause, headers, me, message, requestId, status
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<VaultRestException.Builder,
VaultRestException> - Returns:
- instance of the built type
-
vaultErrors
Configure the vault errors read from response entity.- Parameters:
errors
- errors to add- Returns:
- updated builder
-