code: public DescribeStacksRequest withStackIds(String... stackIds) {
          if (this.stackIds == null) {
              setStackIds(new com.amazonaws.internal.SdkInternalList<String>(stackIds.length));
          }
          for (String ele : stackIds) {
              this.stackIds.add(ele);
          }
          return this;
      }
docs: <p>
  An array of stack IDs that specify the stacks to be described. If you omit this parameter,
  <code>DescribeStacks</code> returns a description of every stack.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStackIds(java.util.Collection)} or {@link #withStackIds(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param stackIds
  An array of stack IDs that specify the stacks to be described. If you omit this parameter,
  <code>DescribeStacks</code> returns a description of every stack.
  @return Returns a reference to this object so that method calls can be chained together.