public GetBotResult withDetectSentiment(Boolean detectSentiment) {
        setDetectSentiment(detectSentiment);
        return this;
    }
<p>
Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis.
</p>

@param detectSentiment
       Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/GetBotResult.java