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