public TestResult withGroups(java.util.Collection<GroupResult> groups) {
        setGroups(groups);
        return this;
    }
<p>
Show each group of test results.
</p>

@param groups
       Show each group of test results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotdeviceadvisor/src/main/java/com/amazonaws/services/iotdeviceadvisor/model/TestResult.java