Class AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
java.lang.Object
org.springframework.vault.authentication.AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
- Enclosing class:
- AppIdAuthenticationOptions
Builder for
AppIdAuthenticationOptions.-
Method Summary
Modifier and TypeMethodDescriptionConfigure the AppId.build()Build a newAppIdAuthenticationOptionsinstance.Configure the mount path.userIdMechanism(AppIdUserIdMechanism userIdMechanism) Configure theAppIdUserIdMechanism.
-
Method Details
-
path
Configure the mount path.- Parameters:
path- must not be empty or null.- Returns:
thisAppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder.- See Also:
-
appId
Configure the AppId.- Parameters:
appId- must not be empty or null.- Returns:
thisAppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder.
-
userIdMechanism
public AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder userIdMechanism(AppIdUserIdMechanism userIdMechanism) Configure theAppIdUserIdMechanism.- Parameters:
userIdMechanism- must not be null.- Returns:
thisAppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder.
-
build
Build a newAppIdAuthenticationOptionsinstance. RequiresuserIdMechanism(AppIdUserIdMechanism)to be configured.- Returns:
- a new
AppIdAuthenticationOptions.
-