public void setStacks(java.util.Collection<Stack> stacks) {
        if (stacks == null) {
            this.stacks = null;
            return;
        }

        this.stacks = new com.amazonaws.internal.SdkInternalList<Stack>(stacks);
    }
public void setStacks ( java . util . Collection < Stack > stacks ) { if ( stacks == null ) { this . stacks = null ; return ; } this . stacks = new com . amazonaws . internal . SdkInternalList < Stack > ( stacks ) ; }
<p>
An array of <code>Stack</code> objects that describe the stacks.
</p>

@param stacks
An array of <code>Stack</code> objects that describe the stacks.