public ContactAnalysis withTranscript(Transcript transcript) {
        setTranscript(transcript);
        return this;
    }
<p>
Search criteria based on transcript analyzed by Amazon Connect Contact Lens.
</p>

@param transcript
       Search criteria based on transcript analyzed by Amazon Connect Contact Lens.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ContactAnalysis.java