@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; useful for testing and debugging.
|
UpdatePolicyResult |
withPolicy(Policy policy)
A structure that contains details about the updated policy, showing the requested changes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public UpdatePolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.