public static interface LexConfiguration.Builder extends SdkPojo, CopyableBuilder<LexConfiguration.Builder,LexConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default LexConfiguration.Builder |
invokedBy(Consumer<InvokedBy.Builder> invokedBy)
Specifies the type of message that triggers a bot.
|
LexConfiguration.Builder |
invokedBy(InvokedBy invokedBy)
Specifies the type of message that triggers a bot.
|
LexConfiguration.Builder |
lexBotAliasArn(String lexBotAliasArn)
The ARN of the Amazon Lex V2 bot's alias.
|
LexConfiguration.Builder |
localeId(String localeId)
Identifies the Amazon Lex V2 bot's language and locale.
|
LexConfiguration.Builder |
respondsTo(RespondsTo respondsTo)
|
LexConfiguration.Builder |
respondsTo(String respondsTo)
|
LexConfiguration.Builder |
welcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLexConfiguration.Builder respondsTo(String respondsTo)
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo -
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTo,
RespondsToLexConfiguration.Builder respondsTo(RespondsTo respondsTo)
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo -
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTo,
RespondsToLexConfiguration.Builder invokedBy(InvokedBy invokedBy)
Specifies the type of message that triggers a bot.
invokedBy - Specifies the type of message that triggers a bot.default LexConfiguration.Builder invokedBy(Consumer<InvokedBy.Builder> 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 via InvokedBy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to invokedBy(InvokedBy).
invokedBy - a consumer that will call methods on InvokedBy.BuilderinvokedBy(InvokedBy)LexConfiguration.Builder lexBotAliasArn(String 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
lexBotAliasArn - The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIASLexConfiguration.Builder localeId(String 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.
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.LexConfiguration.Builder welcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
welcomeIntent - The name of the welcome intent configured in the Amazon Lex V2 bot.Copyright © 2023. All rights reserved.