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