public DetectKeyPhrasesRequest withText(String text) {
        setText(text);
        return this;
    }
<p>
A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.
</p>

@param text
       A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DetectKeyPhrasesRequest.java