Class LookupResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class LookupResponse
    extends VaultResponse
    This class is a container for the information returned by Vault in lookup operations on auth backends.
    See Also:
    Serialized Form
    • Constructor Detail

      • LookupResponse

        public LookupResponse​(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

      • getAccessor

        public java.lang.String getAccessor()
      • getCreationTime

        public long getCreationTime()
      • getCreationTTL

        public long getCreationTTL()
      • getDisplayName

        public java.lang.String getDisplayName()
      • getExplicitMaxTTL

        public long getExplicitMaxTTL()
      • getId

        public java.lang.String getId()
      • getLastRenewalTime

        public java.lang.Long getLastRenewalTime()
      • getNumUses

        public int getNumUses()
      • isOrphan

        public boolean isOrphan()
      • getPath

        public java.lang.String getPath()
      • getPolicies

        public java.util.List<java.lang.String> getPolicies()
      • isRenewable

        public boolean isRenewable()
      • getTTL

        public long getTTL()
      • getUsername

        public java.lang.String getUsername()