public DescribeTestCasesResult withTestCases(TestCase... testCases) {
        if (this.testCases == null) {
            setTestCases(new java.util.ArrayList<TestCase>(testCases.length));
        }
        for (TestCase ele : testCases) {
            this.testCases.add(ele);
        }
        return this;
    }
<p>
The returned list of test cases.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTestCases(java.util.Collection)} or {@link #withTestCases(java.util.Collection)} if you want to
override the existing values.
</p>

@param testCases
       The returned list of test cases.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/DescribeTestCasesResult.java