Class CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty>
- Enclosing interface:
CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty
@Stability(Stable)
public static final class CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty>
A builder for
CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.detectSentiment(Boolean detectSentiment) detectSentiment(IResolvable detectSentiment)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detectSentiment
@Stability(Stable) public CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty.Builder detectSentiment(Boolean detectSentiment) - Parameters:
detectSentiment- Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.- Returns:
this
-
detectSentiment
@Stability(Stable) public CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty.Builder detectSentiment(IResolvable detectSentiment) - Parameters:
detectSentiment- Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty>- Returns:
- a new instance of
CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-