public ResourcePolicy getResourcePolicy() {
        return this.resourcePolicy;
    }
<p>
The returned resource policy.
</p>

@return The returned resource policy.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/GetResourcePolicyResult.java