@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) |
String |
getPolicy()
The IAM policy for the resource.
|
int |
hashCode() |
void |
setPolicy(String policy)
The IAM policy for the resource.
|
String |
toString()
Returns a string representation of this object.
|
DescribeResourcePolicyResult |
withPolicy(String policy)
The IAM policy for the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The IAM policy for the resource.
policy - The IAM policy for the resource.public String getPolicy()
The IAM policy for the resource.
public DescribeResourcePolicyResult withPolicy(String policy)
The IAM policy for the resource.
policy - The IAM policy for the resource.public String toString()
toString in class ObjectObject.toString()public DescribeResourcePolicyResult clone()