public TestSetDiscrepancyErrors withSlotDiscrepancies(TestSetSlotDiscrepancyItem... slotDiscrepancies) {
        if (this.slotDiscrepancies == null) {
            setSlotDiscrepancies(new java.util.ArrayList<TestSetSlotDiscrepancyItem>(slotDiscrepancies.length));
        }
        for (TestSetSlotDiscrepancyItem ele : slotDiscrepancies) {
            this.slotDiscrepancies.add(ele);
        }
        return this;
    }
<p>
Contains information about discrepancies found for slots between the test set and the bot.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSlotDiscrepancies(java.util.Collection)} or {@link #withSlotDiscrepancies(java.util.Collection)} if
you want to override the existing values.
</p>

@param slotDiscrepancies
       Contains information about discrepancies found for slots between the test set and the bot.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/TestSetDiscrepancyErrors.java