public GetResourcePolicyResult withResourcePolicy(ResourcePolicy resourcePolicy) {
        setResourcePolicy(resourcePolicy);
        return this;
    }
<p>
The content of the resource policy.
</p>

@param resourcePolicy
       The content of the resource policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/GetResourcePolicyResult.java