Class GetVaultLockResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe UTC date and time at which the vault lock was put into theInProgressstate.The UTC date and time at which the lock ID expires.The vault lock policy as a JSON string, which uses "\" as an escape character.getState()The state of the vault lock.inthashCode()voidsetCreationDate(String creationDate) The UTC date and time at which the vault lock was put into theInProgressstate.voidsetExpirationDate(String expirationDate) The UTC date and time at which the lock ID expires.voidThe vault lock policy as a JSON string, which uses "\" as an escape character.voidThe state of the vault lock.toString()Returns a string representation of this object; useful for testing and debugging.withCreationDate(String creationDate) The UTC date and time at which the vault lock was put into theInProgressstate.withExpirationDate(String expirationDate) The UTC date and time at which the lock ID expires.withPolicy(String policy) The vault lock policy as a JSON string, which uses "\" as an escape character.The state of the vault lock.
-
Constructor Details
-
GetVaultLockResult
public GetVaultLockResult()
-
-
Method Details
-
setPolicy
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
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
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
The state of the vault lock.
InProgressorLocked.- Parameters:
state- The state of the vault lock.InProgressorLocked.
-
getState
The state of the vault lock.
InProgressorLocked.- Returns:
- The state of the vault lock.
InProgressorLocked.
-
withState
The state of the vault lock.
InProgressorLocked.- Parameters:
state- The state of the vault lock.InProgressorLocked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpirationDate
The UTC date and time at which the lock ID expires. This value can be
nullif the vault lock is in aLockedstate.- Parameters:
expirationDate- The UTC date and time at which the lock ID expires. This value can benullif the vault lock is in aLockedstate.
-
getExpirationDate
The UTC date and time at which the lock ID expires. This value can be
nullif the vault lock is in aLockedstate.- Returns:
- The UTC date and time at which the lock ID expires. This value
can be
nullif the vault lock is in aLockedstate.
-
withExpirationDate
The UTC date and time at which the lock ID expires. This value can be
nullif the vault lock is in aLockedstate.- Parameters:
expirationDate- The UTC date and time at which the lock ID expires. This value can benullif the vault lock is in aLockedstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
The UTC date and time at which the vault lock was put into the
InProgressstate.- Parameters:
creationDate- The UTC date and time at which the vault lock was put into theInProgressstate.
-
getCreationDate
The UTC date and time at which the vault lock was put into the
InProgressstate.- Returns:
- The UTC date and time at which the vault lock was put into the
InProgressstate.
-
withCreationDate
The UTC date and time at which the vault lock was put into the
InProgressstate.- Parameters:
creationDate- The UTC date and time at which the vault lock was put into theInProgressstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-