public IdentityDocument withBlocks(java.util.Collection<Block> blocks) {
        setBlocks(blocks);
        return this;
    }
<p>
Individual word recognition, as returned by document detection.
</p>

@param blocks
       Individual word recognition, as returned by document detection.
@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