code: public CreateReservedInstancesListingRequest withPriceSchedules(PriceScheduleSpecification... priceSchedules) {
          if (this.priceSchedules == null) {
              setPriceSchedules(new com.amazonaws.internal.SdkInternalList<PriceScheduleSpecification>(priceSchedules.length));
          }
          for (PriceScheduleSpecification ele : priceSchedules) {
              this.priceSchedules.add(ele);
          }
          return this;
      }
docs: <p>
  A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance
  term.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPriceSchedules(java.util.Collection)} or {@link #withPriceSchedules(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param priceSchedules
  A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved
  Instance term.
  @return Returns a reference to this object so that method calls can be chained together.