Class TokenVaultAuth.Builder
java.lang.Object
io.helidon.integrations.vault.auths.token.TokenVaultAuth.Builder
- All Implemented Interfaces:
Builder<TokenVaultAuth.Builder,
,TokenVaultAuth> Supplier<TokenVaultAuth>
- Enclosing class:
TokenVaultAuth
public static class TokenVaultAuth.Builder
extends Object
implements Builder<TokenVaultAuth.Builder,TokenVaultAuth>
Fluent API builder for
TokenVaultAuth
.-
Method Summary
Modifier and TypeMethodDescriptionbaseNamespace
(String baseNamespace) Configure a base namespace to use.build()
Build the instance from this builder.Configure the token to use.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<TokenVaultAuth.Builder,
TokenVaultAuth> - Returns:
- instance of the built type
-
baseNamespace
Configure a base namespace to use.- Parameters:
baseNamespace
- base namespace- Returns:
- updated builder
-
token
Configure the token to use.- Parameters:
token
- token value- Returns:
- updated builder
-