public DetectEntitiesResult withErrors(java.util.Collection<ErrorsListItem> errors) {
        setErrors(errors);
        return this;
    }
<p>
Page-level errors that the system detected while processing the input document. The field is empty if the system
encountered no errors.
</p>

@param errors
       Page-level errors that the system detected while processing the input document. The field is empty if the
       system encountered no errors.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DetectEntitiesResult.java