code: public DescribeSpotPriceHistoryRequest withInstanceTypes(String... instanceTypes) {
          if (this.instanceTypes == null) {
              setInstanceTypes(new com.amazonaws.internal.SdkInternalList<String>(instanceTypes.length));
          }
          for (String ele : instanceTypes) {
              this.instanceTypes.add(ele);
          }
          return this;
      }
docs: <p>
  Filters the results by the specified instance types.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setInstanceTypes(java.util.Collection)} or {@link #withInstanceTypes(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param instanceTypes
  Filters the results by the specified instance types.
  @return Returns a reference to this object so that method calls can be chained together.
  @see InstanceType