public DescribeTestCasesResult withTestCases(java.util.Collection<TestCase> testCases) {
        setTestCases(testCases);
        return this;
    }
<p>
The returned list of test cases.
</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