Class GetVaultAccessPolicyResult

    • Constructor Detail

      • GetVaultAccessPolicyResult

        public GetVaultAccessPolicyResult()
    • Method Detail

      • setPolicy

        public void setPolicy​(VaultAccessPolicy policy)

        Contains the returned vault access policy as a JSON string.

        Parameters:
        policy - Contains the returned vault access policy as a JSON string.
      • getPolicy

        public VaultAccessPolicy getPolicy()

        Contains the returned vault access policy as a JSON string.

        Returns:
        Contains the returned vault access policy as a JSON string.
      • withPolicy

        public GetVaultAccessPolicyResult withPolicy​(VaultAccessPolicy policy)

        Contains the returned vault access policy as a JSON string.

        Parameters:
        policy - Contains the returned vault access policy as a JSON string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object