public DescribeReservedInstancesResult withReservedInstances(ReservedInstances... reservedInstances) {
        if (this.reservedInstances == null) {
            setReservedInstances(new com.amazonaws.internal.SdkInternalList<ReservedInstances>(reservedInstances.length));
        }
        for (ReservedInstances ele : reservedInstances) {
            this.reservedInstances.add(ele);
        }
        return this;
    }
<p>
A list of Reserved Instances.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReservedInstances(java.util.Collection)} or {@link #withReservedInstances(java.util.Collection)} if
you want to override the existing values.
</p>

@param reservedInstances
       A list of Reserved Instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesResult.java