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