Class CfnBot.AdvancedRecognitionSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.AdvancedRecognitionSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.AdvancedRecognitionSettingProperty>
- Enclosing interface:
CfnBot.AdvancedRecognitionSettingProperty
@Stability(Stable)
public static final class CfnBot.AdvancedRecognitionSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.AdvancedRecognitionSettingProperty>
A builder for
CfnBot.AdvancedRecognitionSettingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioRecognitionStrategy
(String audioRecognitionStrategy) Sets the value ofCfnBot.AdvancedRecognitionSettingProperty.getAudioRecognitionStrategy()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioRecognitionStrategy
@Stability(Stable) public CfnBot.AdvancedRecognitionSettingProperty.Builder audioRecognitionStrategy(String audioRecognitionStrategy) Sets the value ofCfnBot.AdvancedRecognitionSettingProperty.getAudioRecognitionStrategy()
- Parameters:
audioRecognitionStrategy
- Enables using the slot values as a custom vocabulary for recognizing user utterances.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.AdvancedRecognitionSettingProperty>
- Returns:
- a new instance of
CfnBot.AdvancedRecognitionSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-