Class VaultMount.VaultMountBuilder
java.lang.Object
org.springframework.vault.support.VaultMount.VaultMountBuilder
- Enclosing class:
- VaultMount
Builder to build a
VaultMount.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a newVaultMountinstance.Set additional configuration details for this mount.description(String description) Configure a human readable description of this mount.Set mount type specific options for this mount.Configure the backend type.
-
Method Details
-
type
Configure the backend type.- Parameters:
type- the backend type, must not be empty or null.- Returns:
- this
VaultMount.VaultMountBuilder.
-
description
Configure a human readable description of this mount.- Parameters:
description- a human readable description of this mount.- Returns:
- this
VaultMount.VaultMountBuilder.
-
config
Set additional configuration details for this mount.- Parameters:
config- additional configuration details for this mount.- Returns:
- this
VaultMount.VaultMountBuilder.
-
options
Set mount type specific options for this mount.- Parameters:
options- mount type specific options for this mount.- Returns:
- this
VaultMount.VaultMountBuilder. - Since:
- 2.2
-
build
Build a newVaultMountinstance. Requirestype(String)to be configured.- Returns:
- a new
VaultMount.
-