public DescribeReservedNodesResult withReservedNodes(ReservedNode... reservedNodes) {
        if (this.reservedNodes == null) {
            setReservedNodes(new com.amazonaws.internal.SdkInternalList<ReservedNode>(reservedNodes.length));
        }
        for (ReservedNode ele : reservedNodes) {
            this.reservedNodes.add(ele);
        }
        return this;
    }
<p>
The list of <code>ReservedNode</code> objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReservedNodes(java.util.Collection)} or {@link #withReservedNodes(java.util.Collection)} if you want
to override the existing values.
</p>

@param reservedNodes
       The list of <code>ReservedNode</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/DescribeReservedNodesResult.java