public void setText(String text) {
        this.text = text;
    }
<p>
The word or line of text that's recognized by Amazon Textract.
</p>

@param text
       The word or line of text that's recognized by Amazon Textract.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/Block.java