/** * @param maxRecordsCount The maximum number of records in the cache, accross all ProcessRecordInput objects * @return KinesisClientLibConfiguration */ public KinesisClientLibConfiguration withMaxRecordsCount(final int maxRecordsCount) { checkIsValuePositive("maxRecordsCount", maxRecordsCount); this.recordsFetcherFactory.setMaxRecordsCount(maxRecordsCount); return this; }