Class GetVaultLockResult

    • Constructor Detail

      • GetVaultLockResult

        public GetVaultLockResult()
    • Method Detail

      • setPolicy

        public void setPolicy​(String policy)

        The vault lock policy as a JSON string, which uses "\" as an escape character.

        Parameters:
        policy - The vault lock policy as a JSON string, which uses "\" as an escape character.
      • getPolicy

        public String getPolicy()

        The vault lock policy as a JSON string, which uses "\" as an escape character.

        Returns:
        The vault lock policy as a JSON string, which uses "\" as an escape character.
      • withPolicy

        public GetVaultLockResult withPolicy​(String policy)

        The vault lock policy as a JSON string, which uses "\" as an escape character.

        Parameters:
        policy - The vault lock policy as a JSON string, which uses "\" as an escape character.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setState

        public void setState​(String state)

        The state of the vault lock. InProgress or Locked.

        Parameters:
        state - The state of the vault lock. InProgress or Locked.
      • getState

        public String getState()

        The state of the vault lock. InProgress or Locked.

        Returns:
        The state of the vault lock. InProgress or Locked.
      • withState

        public GetVaultLockResult withState​(String state)

        The state of the vault lock. InProgress or Locked.

        Parameters:
        state - The state of the vault lock. InProgress or Locked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExpirationDate

        public void setExpirationDate​(String expirationDate)

        The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.

        Parameters:
        expirationDate - The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.
      • getExpirationDate

        public String getExpirationDate()

        The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.

        Returns:
        The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.
      • withExpirationDate

        public GetVaultLockResult withExpirationDate​(String expirationDate)

        The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.

        Parameters:
        expirationDate - The UTC date and time at which the lock ID expires. This value can be null if the vault lock is in a Locked state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreationDate

        public void setCreationDate​(String creationDate)

        The UTC date and time at which the vault lock was put into the InProgress state.

        Parameters:
        creationDate - The UTC date and time at which the vault lock was put into the InProgress state.
      • getCreationDate

        public String getCreationDate()

        The UTC date and time at which the vault lock was put into the InProgress state.

        Returns:
        The UTC date and time at which the vault lock was put into the InProgress state.
      • withCreationDate

        public GetVaultLockResult withCreationDate​(String creationDate)

        The UTC date and time at which the vault lock was put into the InProgress state.

        Parameters:
        creationDate - The UTC date and time at which the vault lock was put into the InProgress state.
        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