Class MountPayload

  • All Implemented Interfaces:
    java.io.Serializable

    public class MountPayload
    extends java.lang.Object
    implements java.io.Serializable

    A container for options sent to mounts endpoints on the Secret Engine backend as REST payload. This class is meant for use with a builder pattern style. Example usage:

    
     final MountPayload payload = new MountPayload()
                                      .defaultLeaseTtl(TimeToLive.of(30, TimeUnit.MINUTES))
                                      .maxLeaseTtl(TimeToLive.of(30, TimeUnit.MINUTES))
                                      .description("description of pki");
     
    See Also:
    Serialized Form
    • Constructor Detail

      • MountPayload

        public MountPayload()
    • Method Detail

      • description

        public MountPayload description​(java.lang.String description)
      • forceNoCache

        public MountPayload forceNoCache​(java.lang.Boolean forceNoCache)
      • pluginName

        public MountPayload pluginName​(java.lang.String pluginName)
      • local

        public MountPayload local​(java.lang.Boolean local)
      • sealWrap

        public MountPayload sealWrap​(java.lang.Boolean sealWrap)
      • auditNonHmacRequestKeys

        public MountPayload auditNonHmacRequestKeys​(java.util.List<java.lang.String> auditNonHmacRequestKeys)
      • auditNonHmacResponseKeys

        public MountPayload 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 TimeToLive getDefaultLeaseTtl()
      • getMaxLeaseTtl

        public TimeToLive getMaxLeaseTtl()
      • getDescription

        public java.lang.String getDescription()
      • getForceNoCache

        public java.lang.Boolean getForceNoCache()
      • getPluginName

        public java.lang.String getPluginName()
      • getLocal

        public java.lang.Boolean getLocal()
      • getSealWrap

        public java.lang.Boolean getSealWrap()