public TableExcerpt withRows(java.util.Collection<TableRow> rows) {
        setRows(rows);
        return this;
    }
<p>
A list of rows in the table excerpt.
</p>

@param rows
       A list of rows in the table excerpt.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/TableExcerpt.java