public DescribeStackResourcesResult withStackResources(StackResource... stackResources) {
        if (this.stackResources == null) {
            setStackResources(new com.amazonaws.internal.SdkInternalList<StackResource>(stackResources.length));
        }
        for (StackResource ele : stackResources) {
            this.stackResources.add(ele);
        }
        return this;
    }
<p>
A list of <code>StackResource</code> structures.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStackResources(java.util.Collection)} or {@link #withStackResources(java.util.Collection)} if you want
to override the existing values.
</p>

@param stackResources
       A list of <code>StackResource</code> structures.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourcesResult.java