Class 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 Detail

      • MountConfig

        public MountConfig()
    • 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()