Class CfnFlowVersion.LexFlowNodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.LexFlowNodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.LexFlowNodeConfigurationProperty>
- Enclosing interface:
CfnFlowVersion.LexFlowNodeConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersion.LexFlowNodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.LexFlowNodeConfigurationProperty>
A builder for
CfnFlowVersion.LexFlowNodeConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbotAliasArn
(String botAliasArn) Sets the value ofCfnFlowVersion.LexFlowNodeConfigurationProperty.getBotAliasArn()
build()
Builds the configured instance.Sets the value ofCfnFlowVersion.LexFlowNodeConfigurationProperty.getLocaleId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botAliasArn
@Stability(Stable) public CfnFlowVersion.LexFlowNodeConfigurationProperty.Builder botAliasArn(String botAliasArn) Sets the value ofCfnFlowVersion.LexFlowNodeConfigurationProperty.getBotAliasArn()
- Parameters:
botAliasArn
- The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke. This parameter is required.- Returns:
this
-
localeId
@Stability(Stable) public CfnFlowVersion.LexFlowNodeConfigurationProperty.Builder localeId(String localeId) Sets the value ofCfnFlowVersion.LexFlowNodeConfigurationProperty.getLocaleId()
- Parameters:
localeId
- The Region to invoke the Amazon Lex bot in. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.LexFlowNodeConfigurationProperty>
- Returns:
- a new instance of
CfnFlowVersion.LexFlowNodeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-