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