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