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

@param detectedText
       The word or line of text recognized by Amazon Rekognition.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java