public ResourcePolicy getResourcePolicy() {
        return this.resourcePolicy;
    }
<p>
The resource policy document, as provided in the <code>PutResourcePolicyRequest</code>.
</p>

@return The resource policy document, as provided in the <code>PutResourcePolicyRequest</code>.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/PutResourcePolicyResult.java