public class GetPolicyResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetPolicy request.
| Constructor and Description |
|---|
GetPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetPolicyResult |
clone() |
boolean |
equals(Object obj) |
Policy |
getPolicy()
Information about the policy.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
Information about the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyResult |
withPolicy(Policy policy)
Information about the policy.
|
public void setPolicy(Policy policy)
Information about the policy.
policy - Information about the policy.public Policy getPolicy()
Information about the policy.
public GetPolicyResult withPolicy(Policy policy)
Information about the policy.
policy - Information about the policy.public String toString()
toString in class ObjectObject.toString()public GetPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.