code: public DescribeSpotFleetRequestHistoryResult withHistoryRecords(HistoryRecord... historyRecords) {
          if (this.historyRecords == null) {
              setHistoryRecords(new com.amazonaws.internal.SdkInternalList<HistoryRecord>(historyRecords.length));
          }
          for (HistoryRecord ele : historyRecords) {
              this.historyRecords.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the events in the history of the Spot Fleet request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setHistoryRecords(java.util.Collection)} or {@link #withHistoryRecords(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param historyRecords
  Information about the events in the history of the Spot Fleet request.
  @return Returns a reference to this object so that method calls can be chained together.