public DocumentText withText(String text) {
        setText(text);
        return this;
    }
<p>
Text in the document.
</p>

@param text
       Text in the document.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qconnect/src/main/java/com/amazonaws/services/qconnect/model/DocumentText.java