code: public ListStacksResult withStackSummaries(StackSummary... stackSummaries) {
          if (this.stackSummaries == null) {
              setStackSummaries(new com.amazonaws.internal.SdkInternalList<StackSummary>(stackSummaries.length));
          }
          for (StackSummary ele : stackSummaries) {
              this.stackSummaries.add(ele);
          }
          return this;
      }
docs: <p>
  A list of <code>StackSummary</code> structures containing information about the specified stacks.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStackSummaries(java.util.Collection)} or {@link #withStackSummaries(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param stackSummaries
  A list of <code>StackSummary</code> structures containing information about the specified stacks.
  @return Returns a reference to this object so that method calls can be chained together.