code: public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory) {
          if (this.spotPriceHistory == null) {
              setSpotPriceHistory(new com.amazonaws.internal.SdkInternalList<SpotPrice>(spotPriceHistory.length));
          }
          for (SpotPrice ele : spotPriceHistory) {
              this.spotPriceHistory.add(ele);
          }
          return this;
      }
docs: <p>
  The historical Spot prices.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSpotPriceHistory(java.util.Collection)} or {@link #withSpotPriceHistory(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param spotPriceHistory
  The historical Spot prices.
  @return Returns a reference to this object so that method calls can be chained together.