code: public ListAvailableSolutionStacksResult withSolutionStacks(String... solutionStacks) {
          if (this.solutionStacks == null) {
              setSolutionStacks(new com.amazonaws.internal.SdkInternalList<String>(solutionStacks.length));
          }
          for (String ele : solutionStacks) {
              this.solutionStacks.add(ele);
          }
          return this;
      }
docs: <p>
  A list of available solution stacks.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSolutionStacks(java.util.Collection)} or {@link #withSolutionStacks(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param solutionStacks
  A list of available solution stacks.
  @return Returns a reference to this object so that method calls can be chained together.