/**
  * A list of available solution stacks.
  *
  * <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.
  *
  * @param solutionStacks A list of available solution stacks.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 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;
 }
 /**
  * A list of available solution stacks.
  *
  * @param solutionStacks A list of available solution stacks.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public ListAvailableSolutionStacksResult withSolutionStacks(
     java.util.Collection<String> solutionStacks) {
   setSolutionStacks(solutionStacks);
   return this;
 }