- java.lang.Object
-
- io.github.jopenlibs.vault.api.mounts.Mount
-
- All Implemented Interfaces:
java.io.Serializable
public class Mount extends java.lang.Object implements java.io.Serializable
A container for options returned by mounts endpoints on the Secret Engine backend. This class is meant for use with a builder pattern style. Example usage:
final Mount options = new Mount() .type(MountType.PKI) .description("Some description about the secret engine");
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Mount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mount
config(MountConfig config)
Mount
description(java.lang.String description)
MountConfig
getConfig()
java.lang.String
getDescription()
java.lang.Boolean
getLocal()
java.lang.Boolean
getSealWrap()
MountType
getType()
Mount
local(java.lang.Boolean local)
Mount
sealWrap(java.lang.Boolean sealWrap)
Mount
type(MountType type)
-
-
-
Method Detail
-
description
public Mount description(java.lang.String description)
-
config
public Mount config(MountConfig config)
-
local
public Mount local(java.lang.Boolean local)
-
sealWrap
public Mount sealWrap(java.lang.Boolean sealWrap)
-
getType
public MountType getType()
-
getDescription
public java.lang.String getDescription()
-
getConfig
public MountConfig getConfig()
-
getLocal
public java.lang.Boolean getLocal()
-
getSealWrap
public java.lang.Boolean getSealWrap()
-
-