public Block withText(String text) {
        setText(text);
        return this;
    }
<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.
@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