public RecognizeTextRequest withText(String text) {
        setText(text);
        return this;
    }
<p>
The text that the user entered. Amazon Lex V2 interprets this text.
</p>

@param text
       The text that the user entered. Amazon Lex V2 interprets this text.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexruntimev2/src/main/java/com/amazonaws/services/lexruntimev2/model/RecognizeTextRequest.java