public class CreatePolicyResult extends Object implements Serializable, Cloneable
Contains the response to a successful CreatePolicy request.
Constructor and Description |
---|
CreatePolicyResult() |
Modifier and Type | Method and Description |
---|---|
CreatePolicyResult |
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.
|
CreatePolicyResult |
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 CreatePolicyResult withPolicy(Policy policy)
Information about the policy.
policy
- Information about the policy.public String toString()
toString
in class Object
Object.toString()
public CreatePolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.