Class SealResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class SealResponse
    extends VaultResponse
    This class is a container for the information returned by Vault in v1/sys/*seal* operations.
    See Also:
    Serialized Form
    • Constructor Detail

      • SealResponse

        public SealResponse​(RestResponse restResponse,
                            int retries)
        This constructor simply exposes the common base class constructor.
        Parameters:
        restResponse - The raw HTTP response from Vault.
        retries - The number of retry attempts that occurred during the API call (can be zero).
    • Method Detail

      • getSealed

        public java.lang.Boolean getSealed()
      • getThreshold

        public java.lang.Long getThreshold()
      • getNumberOfShares

        public java.lang.Long getNumberOfShares()
      • getProgress

        public java.lang.Long getProgress()