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