public void setDetectSentiment(Boolean detectSentiment) {
        this.detectSentiment = detectSentiment;
    }
<p>
Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment analysis.
</p>

@param detectSentiment
       Indicates whether utterances entered by the user should be sent to Amazon Comprehend for sentiment
       analysis.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/CreateBotVersionResult.java