Interface LexConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LexConfiguration.Builder,
,LexConfiguration> SdkBuilder<LexConfiguration.Builder,
,LexConfiguration> SdkPojo
- Enclosing class:
LexConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault LexConfiguration.Builder
invokedBy
(Consumer<InvokedBy.Builder> invokedBy) Specifies the type of message that triggers a bot.Specifies the type of message that triggers a bot.lexBotAliasArn
(String lexBotAliasArn) The ARN of the Amazon Lex V2 bot's alias.Identifies the Amazon Lex V2 bot's language and locale.respondsTo
(String respondsTo) respondsTo
(RespondsTo respondsTo) welcomeIntent
(String welcomeIntent) The name of the welcome intent configured in the Amazon Lex V2 bot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
respondsTo
Deprecated. Use
InvokedBy
instead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- Parameters:
respondsTo
-Deprecated. Use
InvokedBy
instead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
respondsTo
Deprecated. Use
InvokedBy
instead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- Parameters:
respondsTo
-Deprecated. Use
InvokedBy
instead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invokedBy
Specifies the type of message that triggers a bot.
- Parameters:
invokedBy
- Specifies the type of message that triggers a bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokedBy
Specifies the type of message that triggers a bot.
This is a convenience method that creates an instance of theInvokedBy.Builder
avoiding the need to create one manually viaInvokedBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvokedBy(InvokedBy)
.- Parameters:
invokedBy
- a consumer that will call methods onInvokedBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lexBotAliasArn
The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
- Parameters:
lexBotAliasArn
- The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
- Parameters:
localeId
- Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
welcomeIntent
The name of the welcome intent configured in the Amazon Lex V2 bot.
- Parameters:
welcomeIntent
- The name of the welcome intent configured in the Amazon Lex V2 bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-