@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
DescribeResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
ResourcePolicy |
getResourcePolicy()
A structure that contains details about the resource policy.
|
int |
hashCode() |
void |
setResourcePolicy(ResourcePolicy resourcePolicy)
A structure that contains details about the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
DescribeResourcePolicyResult |
withResourcePolicy(ResourcePolicy resourcePolicy)
A structure that contains details about the resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourcePolicy(ResourcePolicy resourcePolicy)
A structure that contains details about the resource policy.
resourcePolicy
- A structure that contains details about the resource policy.public ResourcePolicy getResourcePolicy()
A structure that contains details about the resource policy.
public DescribeResourcePolicyResult withResourcePolicy(ResourcePolicy resourcePolicy)
A structure that contains details about the resource policy.
resourcePolicy
- A structure that contains details about the resource policy.public String toString()
toString
in class Object
Object.toString()
public DescribeResourcePolicyResult clone()