Class MountResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class MountResponse
    extends LogicalResponse
    This class is a container for the information returned by Vault in /sys/mounts/ API operations (e.g. enable/disable secret engine mountpoint, read/tune mountpoint configurations)
    See Also:
    Serialized Form
    • Constructor Detail

      • MountResponse

        public MountResponse​(RestResponse restResponse,
                             int retries,
                             boolean isList)
        Parameters:
        restResponse - The raw response received from Vault
        retries - The number of retries that were performed for this operation
        isList - the flag to indicate if we're expecting a list of Mounts from Vault or not
    • Method Detail

      • getMount

        public Mount getMount()
      • getMounts

        public java.util.Map<java.lang.String,​Mount> getMounts()