Class GetVaultAccessPolicyResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.GetVaultAccessPolicyResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetVaultAccessPolicyResult extends Object implements Serializable, Cloneable
Output for GetVaultAccessPolicy.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetVaultAccessPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetVaultAccessPolicyResultclone()booleanequals(Object obj)VaultAccessPolicygetPolicy()Contains the returned vault access policy as a JSON string.inthashCode()voidsetPolicy(VaultAccessPolicy policy)Contains the returned vault access policy as a JSON string.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetVaultAccessPolicyResultwithPolicy(VaultAccessPolicy policy)Contains the returned vault access policy as a JSON string.
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetVaultAccessPolicyResult clone()
-
-