Class CfnBotPropsMixin.SpeechRecognitionSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SpeechRecognitionSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.SpeechRecognitionSettingsProperty>
- Enclosing interface:
CfnBotPropsMixin.SpeechRecognitionSettingsProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.SpeechRecognitionSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.SpeechRecognitionSettingsProperty>
A builder for
CfnBotPropsMixin.SpeechRecognitionSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.speechModelConfig(CfnBotPropsMixin.SpeechModelConfigProperty speechModelConfig) speechModelConfig(IResolvable speechModelConfig) speechModelPreference(String speechModelPreference)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
speechModelConfig
@Stability(Stable) public CfnBotPropsMixin.SpeechRecognitionSettingsProperty.Builder speechModelConfig(IResolvable speechModelConfig) - Parameters:
speechModelConfig- the value to be set.- Returns:
this
-
speechModelConfig
@Stability(Stable) public CfnBotPropsMixin.SpeechRecognitionSettingsProperty.Builder speechModelConfig(CfnBotPropsMixin.SpeechModelConfigProperty speechModelConfig) - Parameters:
speechModelConfig- the value to be set.- Returns:
this
-
speechModelPreference
@Stability(Stable) public CfnBotPropsMixin.SpeechRecognitionSettingsProperty.Builder speechModelPreference(String speechModelPreference) - Parameters:
speechModelPreference- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.SpeechRecognitionSettingsProperty>- Returns:
- a new instance of
CfnBotPropsMixin.SpeechRecognitionSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-