public class VaultMount extends Object
A VaultMount
represents an auth or secret mount with its config details.
Instances of this class are immutable once constructed.
builder()
Modifier and Type | Class and Description |
---|---|
static class |
VaultMount.VaultMountBuilder
Builder to build a
VaultMount . |
Modifier and Type | Method and Description |
---|---|
static VaultMount.VaultMountBuilder |
builder() |
static VaultMount |
create(String type)
Create a new
VaultMount given a type . |
Map<String,Object> |
getConfig() |
String |
getDescription() |
Map<String,String> |
getOptions() |
String |
getType() |
public static VaultMount create(String type)
VaultMount
given a type
.type
- backend type, must not be empty or null.VaultMount
.public static VaultMount.VaultMountBuilder builder()
VaultMount.VaultMountBuilder
.public String getType()
@Nullable public String getDescription()
@Nullable public Map<String,Object> getConfig()
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.