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