@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| UpdatePolicyResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdatePolicyResult | clone() | 
| boolean | equals(Object obj) | 
| Policy | getPolicy()
 A structure that contains details about the updated policy, showing the requested changes. | 
| int | hashCode() | 
| void | setPolicy(Policy policy)
 A structure that contains details about the updated policy, showing the requested changes. | 
| String | toString()Returns a string representation of this object. | 
| UpdatePolicyResult | withPolicy(Policy policy)
 A structure that contains details about the updated policy, showing the requested changes. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(Policy policy)
A structure that contains details about the updated policy, showing the requested changes.
policy - A structure that contains details about the updated policy, showing the requested changes.public Policy getPolicy()
A structure that contains details about the updated policy, showing the requested changes.
public UpdatePolicyResult withPolicy(Policy policy)
A structure that contains details about the updated policy, showing the requested changes.
policy - A structure that contains details about the updated policy, showing the requested changes.public String toString()
toString in class ObjectObject.toString()public UpdatePolicyResult clone()