public void setReservedInstances(java.util.Collection<ReservedInstances> reservedInstances) {
        if (reservedInstances == null) {
            this.reservedInstances = null;
            return;
        }

        this.reservedInstances = new com.amazonaws.internal.SdkInternalList<ReservedInstances>(reservedInstances);
    }
<p>
A list of Reserved Instances.
</p>

@param reservedInstances
       A list of Reserved Instances.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeReservedInstancesResult.java