public IdentityDocument withDocumentIndex(Integer documentIndex) {
        setDocumentIndex(documentIndex);
        return this;
    }
<p>
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2
and so on.
</p>

@param documentIndex
       Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the
       second 2 and so on.
@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/IdentityDocument.java