public BatchGetRecordResult withErrors(java.util.Collection<BatchGetRecordError> errors) {
        setErrors(errors);
        return this;
    }
<p>
A list of errors that have occurred when retrieving a batch of Records.
</p>

@param errors
       A list of errors that have occurred when retrieving a batch of Records.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakerfeaturestoreruntime/src/main/java/com/amazonaws/services/sagemakerfeaturestoreruntime/model/BatchGetRecordResult.java