public DetectTextResult withTextDetections(java.util.Collection<TextDetection> textDetections) {
        setTextDetections(textDetections);
        return this;
    }
<p>
An array of text that was detected in the input image.
</p>

@param textDetections
       An array of text that was detected in the input image.
@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/DetectTextResult.java