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