public void setErrors(java.util.Collection<BatchCreateDelegationByAssessmentError> errors) {
        if (errors == null) {
            this.errors = null;
            return;
        }

        this.errors = new java.util.ArrayList<BatchCreateDelegationByAssessmentError>(errors);
    }
<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.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/BatchCreateDelegationByAssessmentResult.java