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() |
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()
public String getDescription()
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.