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.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DescribeStacksResult.java