Class AppRoleVaultAuth.Builder
- java.lang.Object
-
- io.helidon.integrations.vault.auths.approle.AppRoleVaultAuth.Builder
-
- All Implemented Interfaces:
Builder<AppRoleVaultAuth>
,Supplier<AppRoleVaultAuth>
- Enclosing class:
- AppRoleVaultAuth
public static class AppRoleVaultAuth.Builder extends Object implements Builder<AppRoleVaultAuth>
Fluent API builder forAppRoleVaultAuth
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppRoleVaultAuth.Builder
appRoleId(String appRoleId)
ID of the AppRole.AppRoleVaultAuth
build()
Build the instance from this builder.AppRoleVaultAuth.Builder
path(String path)
Custom method path.AppRoleVaultAuth.Builder
secretId(String secretId)
Secret ID generated for the AppRole.
-
-
-
Method Detail
-
build
public AppRoleVaultAuth build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<AppRoleVaultAuth>
- Returns:
- instance of the built type
-
appRoleId
public AppRoleVaultAuth.Builder appRoleId(String appRoleId)
ID of the AppRole.- Parameters:
appRoleId
- AppRole ID- Returns:
- updated builder
-
secretId
public AppRoleVaultAuth.Builder secretId(String secretId)
Secret ID generated for the AppRole.- Parameters:
secretId
- secret ID- Returns:
- updated builder
-
path
public AppRoleVaultAuth.Builder path(String path)
Custom method path.- Parameters:
path
- path of the app role method, defaults toAppRoleAuthRx.AUTH_METHOD
default path- Returns:
- updated builder
-
-