public GetComplianceDetailsByResourceRequest withResourceEvaluationId(String resourceEvaluationId) {
        setResourceEvaluationId(resourceEvaluationId);
        return this;
    }
<p>
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
</p>
<note>
<p>
You need to only provide either a <code>ResourceEvaluationID</code> or a <code>ResourceID </code>and
<code>ResourceType</code>.
</p>
</note>

@param resourceEvaluationId
       The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
       </p> <note>
       <p>
       You need to only provide either a <code>ResourceEvaluationID</code> or a <code>ResourceID </code>and
       <code>ResourceType</code>.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/GetComplianceDetailsByResourceRequest.java