public DescribeStacksResult withStacks(Stack... stacks) {
        if (this.stacks == null) {
            setStacks(new com.amazonaws.internal.SdkInternalList<Stack>(stacks.length));
        }
        for (Stack ele : stacks) {
            this.stacks.add(ele);
        }
        return this;
    }
<p>
An array of <code>Stack</code> objects that describe the stacks.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStacks(java.util.Collection)} or {@link #withStacks(java.util.Collection)} if you want to override the
existing values.
</p>

@param stacks
       An array of <code>Stack</code> objects that describe the stacks.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksResult.java