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