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