Class VaultLockPolicy
java.lang.Object
com.amazonaws.services.glacier.model.VaultLockPolicy
- All Implemented Interfaces:
Serializable,Cloneable
Contains the vault lock policy.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe vault lock policy.inthashCode()voidThe vault lock policy.toString()Returns a string representation of this object; useful for testing and debugging.withPolicy(String policy) The vault lock policy.
-
Constructor Details
-
VaultLockPolicy
public VaultLockPolicy()
-
-
Method Details
-
setPolicy
The vault lock policy.
- Parameters:
policy- The vault lock policy.
-
getPolicy
The vault lock policy.
- Returns:
- The vault lock policy.
-
withPolicy
The vault lock policy.
- Parameters:
policy- The vault lock policy.- 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
-