code: public void setRecords(java.util.Collection<Record> records) {
          if (records == null) {
              this.records = null;
              return;
          }
  
          this.records = new java.util.ArrayList<Record>(records);
      }
docs: <p>
  The stream records from the shard, which were retrieved using the shard iterator.
  </p>
  
  @param records
  The stream records from the shard, which were retrieved using the shard iterator.