Class CfnBot.UnifiedSpeechSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.UnifiedSpeechSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.UnifiedSpeechSettingsProperty>
- Enclosing interface:
CfnBot.UnifiedSpeechSettingsProperty
@Stability(Stable)
public static final class CfnBot.UnifiedSpeechSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.UnifiedSpeechSettingsProperty>
A builder for
CfnBot.UnifiedSpeechSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.speechFoundationModel(IResolvable speechFoundationModel) Sets the value ofCfnBot.UnifiedSpeechSettingsProperty.getSpeechFoundationModel()speechFoundationModel(CfnBot.SpeechFoundationModelProperty speechFoundationModel) Sets the value ofCfnBot.UnifiedSpeechSettingsProperty.getSpeechFoundationModel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
speechFoundationModel
@Stability(Stable) public CfnBot.UnifiedSpeechSettingsProperty.Builder speechFoundationModel(IResolvable speechFoundationModel) Sets the value ofCfnBot.UnifiedSpeechSettingsProperty.getSpeechFoundationModel()- Parameters:
speechFoundationModel- The foundation model configuration to use for unified speech processing capabilities. This parameter is required.- Returns:
this
-
speechFoundationModel
@Stability(Stable) public CfnBot.UnifiedSpeechSettingsProperty.Builder speechFoundationModel(CfnBot.SpeechFoundationModelProperty speechFoundationModel) Sets the value ofCfnBot.UnifiedSpeechSettingsProperty.getSpeechFoundationModel()- Parameters:
speechFoundationModel- The foundation model configuration to use for unified speech processing capabilities. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.UnifiedSpeechSettingsProperty>- Returns:
- a new instance of
CfnBot.UnifiedSpeechSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-