- java.lang.Object
-
- io.github.jopenlibs.vault.api.mounts.MountConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class MountConfig 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:
Most of the time this will be wrapped inside
Mount
object rather than directly sent to Vault backend or back to the user.final MountConfig config = new MountConfig() .defaultLeaseTtl(2628000) .maxLeaseTtl(2628000) .description("description of pki");
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MountConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MountConfig
auditNonHmacRequestKeys(java.util.List<java.lang.String> auditNonHmacRequestKeys)
MountConfig
auditNonHmacResponseKeys(java.util.List<java.lang.String> auditNonHmacResponseKeys)
MountConfig
defaultLeaseTtl(java.lang.Integer defaultLeaseTtl)
MountConfig
description(java.lang.String description)
MountConfig
forceNoCache(java.lang.Boolean forceNoCache)
java.util.List<java.lang.String>
getAuditNonHmacRequestKeys()
java.util.List<java.lang.String>
getAuditNonHmacResponseKeys()
java.lang.Integer
getDefaultLeaseTtl()
java.lang.String
getDescription()
java.lang.Boolean
getForceNoCache()
java.lang.Integer
getMaxLeaseTtl()
java.lang.String
getPluginName()
MountConfig
maxLeaseTtl(java.lang.Integer maxLeaseTtl)
MountConfig
pluginName(java.lang.String pluginName)
-
-
-
Method Detail
-
defaultLeaseTtl
public MountConfig defaultLeaseTtl(java.lang.Integer defaultLeaseTtl)
-
maxLeaseTtl
public MountConfig maxLeaseTtl(java.lang.Integer maxLeaseTtl)
-
description
public MountConfig description(java.lang.String description)
-
forceNoCache
public MountConfig forceNoCache(java.lang.Boolean forceNoCache)
-
pluginName
public MountConfig pluginName(java.lang.String pluginName)
-
auditNonHmacRequestKeys
public MountConfig auditNonHmacRequestKeys(java.util.List<java.lang.String> auditNonHmacRequestKeys)
-
auditNonHmacResponseKeys
public MountConfig auditNonHmacResponseKeys(java.util.List<java.lang.String> auditNonHmacResponseKeys)
-
getAuditNonHmacRequestKeys
public java.util.List<java.lang.String> getAuditNonHmacRequestKeys()
-
getAuditNonHmacResponseKeys
public java.util.List<java.lang.String> getAuditNonHmacResponseKeys()
-
getDefaultLeaseTtl
public java.lang.Integer getDefaultLeaseTtl()
-
getMaxLeaseTtl
public java.lang.Integer getMaxLeaseTtl()
-
getDescription
public java.lang.String getDescription()
-
getForceNoCache
public java.lang.Boolean getForceNoCache()
-
getPluginName
public java.lang.String getPluginName()
-
-