public void setTextDetections(java.util.Collection<TextDetection> textDetections) {
        if (textDetections == null) {
            this.textDetections = null;
            return;
        }

        this.textDetections = new java.util.ArrayList<TextDetection>(textDetections);
    }
<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.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextResult.java