@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 content of the updated resource policy.
|
int |
hashCode() |
void |
setResourcePolicy(ResourcePolicy resourcePolicy)
The content of the updated resource policy.
|
String |
toString()
Returns a string representation of this object.
|
PutResourcePolicyResult |
withResourcePolicy(ResourcePolicy resourcePolicy)
The content of the updated resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourcePolicy(ResourcePolicy resourcePolicy)
The content of the updated resource policy.
resourcePolicy
- The content of the updated resource policy.public ResourcePolicy getResourcePolicy()
The content of the updated resource policy.
public PutResourcePolicyResult withResourcePolicy(ResourcePolicy resourcePolicy)
The content of the updated resource policy.
resourcePolicy
- The content of the updated resource policy.public String toString()
toString
in class Object
Object.toString()
public PutResourcePolicyResult clone()