public static class VaultMount.VaultMountBuilder extends Object
VaultMount
.Modifier and Type | Method and Description |
---|---|
VaultMount |
build()
Build a new
VaultMount instance. |
VaultMount.VaultMountBuilder |
config(Map<String,Object> config)
Set additional configuration details for this mount.
|
VaultMount.VaultMountBuilder |
description(String description)
Configure a human readable description of this mount.
|
VaultMount.VaultMountBuilder |
options(Map<String,String> options)
Set mount type specific options for this mount.
|
VaultMount.VaultMountBuilder |
type(String type)
Configure the backend type.
|
public VaultMount.VaultMountBuilder type(String type)
type
- the backend type, must not be empty or null.VaultMount.VaultMountBuilder
.public VaultMount.VaultMountBuilder description(String description)
description
- a human readable description of this mount.VaultMount.VaultMountBuilder
.public VaultMount.VaultMountBuilder config(Map<String,Object> config)
config
- additional configuration details for this mount.VaultMount.VaultMountBuilder
.public VaultMount.VaultMountBuilder options(Map<String,String> options)
options
- mount type specific options for this mount.VaultMount.VaultMountBuilder
.public VaultMount build()
VaultMount
instance. Requires type(String)
to be
configured.VaultMount
.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.