public BatchCreateDelegationByAssessmentResult withErrors(java.util.Collection<BatchCreateDelegationByAssessmentError> errors) {
        setErrors(errors);
        return this;
    }
<p>
A list of errors that the <code>BatchCreateDelegationByAssessment</code> API returned.
</p>

@param errors
       A list of errors that the <code>BatchCreateDelegationByAssessment</code> API returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/BatchCreateDelegationByAssessmentResult.java