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 GetVaultAccessPolicyResult
clone()
boolean
equals(Object obj)
VaultAccessPolicy
getPolicy()
Contains the returned vault access policy as a JSON string.int
hashCode()
void
setPolicy(VaultAccessPolicy policy)
Contains the returned vault access policy as a JSON string.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetVaultAccessPolicyResult
withPolicy(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetVaultAccessPolicyResult clone()
-
-