@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
ResourcePolicy |
getResourcePolicy()
The new policy.
|
int |
hashCode() |
void |
setResourcePolicy(ResourcePolicy resourcePolicy)
The new policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutResourcePolicyResult |
withResourcePolicy(ResourcePolicy resourcePolicy)
The new policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourcePolicy(ResourcePolicy resourcePolicy)
The new policy.
resourcePolicy
- The new policy.public ResourcePolicy getResourcePolicy()
The new policy.
public PutResourcePolicyResult withResourcePolicy(ResourcePolicy resourcePolicy)
The new policy.
resourcePolicy
- The new policy.public String toString()
toString
in class Object
Object.toString()
public PutResourcePolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.