code: public void setHistoryRecords(java.util.Collection<HistoryRecordEntry> historyRecords) {
          if (historyRecords == null) {
              this.historyRecords = null;
              return;
          }
  
          this.historyRecords = new com.amazonaws.internal.SdkInternalList<HistoryRecordEntry>(historyRecords);
      }
docs: <p>
  Information about the events in the history of the EC2 Fleet.
  </p>
  
  @param historyRecords
  Information about the events in the history of the EC2 Fleet.