public ListTestSetsResult withTestSets(TestSetSummary... testSets) {
        if (this.testSets == null) {
            setTestSets(new java.util.ArrayList<TestSetSummary>(testSets.length));
        }
        for (TestSetSummary ele : testSets) {
            this.testSets.add(ele);
        }
        return this;
    }
<p>
The selected test sets in a list of test sets.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTestSets(java.util.Collection)} or {@link #withTestSets(java.util.Collection)} if you want to override
the existing values.
</p>

@param testSets
       The selected test sets in a list of test sets.
@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/ListTestSetsResult.java