public Block withRowIndex(Integer rowIndex) {
        setRowIndex(rowIndex);
        return this;
    }
<p>
The row in which a table cell is located. The first row position is 1. <code>RowIndex</code> isn't returned by
<code>DetectDocumentText</code> and <code>GetDocumentTextDetection</code>.
</p>

@param rowIndex
       The row in which a table cell is located. The first row position is 1. <code>RowIndex</code> isn't
       returned by <code>DetectDocumentText</code> and <code>GetDocumentTextDetection</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/Block.java