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>
,Supplier<VaultRestException>
- Enclosing class:
- VaultRestException
public static class VaultRestException.Builder extends ApiRestException.BaseBuilder<VaultRestException.Builder> implements Builder<VaultRestException>
Fluent API builder forVaultRestException
used byRestApiBase
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaultRestException
build()
Build the instance from this builder.VaultRestException.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 Detail
-
build
public VaultRestException build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<VaultRestException>
- Returns:
- instance of the built type
-
vaultErrors
public VaultRestException.Builder vaultErrors(List<String> errors)
Configure the vault errors read from response entity.- Parameters:
errors
- errors to add- Returns:
- updated builder
-
-