@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetResourcePolicyResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetResourcePolicyResult | clone() | 
| boolean | equals(Object obj) | 
| String | getPolicy()
 The content of the resource policy. | 
| int | hashCode() | 
| void | setPolicy(String policy)
 The content of the resource policy. | 
| String | toString()Returns a string representation of this object. | 
| GetResourcePolicyResult | withPolicy(String policy)
 The content of the resource policy. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The content of the resource policy.
policy - The content of the resource policy.public String getPolicy()
The content of the resource policy.
public GetResourcePolicyResult withPolicy(String policy)
The content of the resource policy.
policy - The content of the resource policy.public String toString()
toString in class ObjectObject.toString()public GetResourcePolicyResult clone()