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

        this.errors = new java.util.ArrayList<BatchGetIncidentFindingsError>(errors);
    }
<p>
A list of errors encountered during the operation.
</p>

@param errors
       A list of errors encountered during the operation.
aws-java-sdk-ssmincidents/src/main/java/com/amazonaws/services/ssmincidents/model/BatchGetIncidentFindingsResult.java