public BatchUpdateCustomVocabularyItemResult withErrors(java.util.Collection<FailedCustomVocabularyItem> errors) {
        setErrors(errors);
        return this;
    }
<p>
A list of custom vocabulary items that failed to update during the operation. The reason for the error is
contained within each error object.
</p>

@param errors
       A list of custom vocabulary items that failed to update during the operation. The reason for the error is
       contained within each error object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/BatchUpdateCustomVocabularyItemResult.java