public TextDetection withDetectedText(String detectedText) {
        setDetectedText(detectedText);
        return this;
    }
<p>
The word or line of text recognized by Amazon Rekognition.
</p>

@param detectedText
       The word or line of text recognized by Amazon Rekognition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java