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

@param resourcePolicy
       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