public void setHasErrors(Boolean hasErrors) {
        this.hasErrors = hasErrors;
    }
<p>
Specifies an error filter for the response. Specify <code>True</code> to only include entries that have errors.
</p>

@param hasErrors
       Specifies an error filter for the response. Specify <code>True</code> to only include entries that have
       errors.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesRequest.java