Interface LexConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LexConfiguration.Builder,LexConfiguration>,SdkBuilder<LexConfiguration.Builder,LexConfiguration>,SdkPojo
- Enclosing class:
- LexConfiguration
public static interface LexConfiguration.Builder extends SdkPojo, CopyableBuilder<LexConfiguration.Builder,LexConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LexConfiguration.BuilderinvokedBy(Consumer<InvokedBy.Builder> invokedBy)Specifies the type of message that triggers a bot.LexConfiguration.BuilderinvokedBy(InvokedBy invokedBy)Specifies the type of message that triggers a bot.LexConfiguration.BuilderlexBotAliasArn(String lexBotAliasArn)The ARN of the Amazon Lex V2 bot's alias.LexConfiguration.BuilderlocaleId(String localeId)Identifies the Amazon Lex V2 bot's language and locale.LexConfiguration.BuilderrespondsTo(String respondsTo)LexConfiguration.BuilderrespondsTo(RespondsTo respondsTo)LexConfiguration.BuilderwelcomeIntent(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 Detail
-
respondsTo
LexConfiguration.Builder respondsTo(String respondsTo)
Deprecated. Use
InvokedByinstead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- Parameters:
respondsTo-Deprecated. Use
InvokedByinstead.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,RespondsTo
-
respondsTo
LexConfiguration.Builder respondsTo(RespondsTo respondsTo)
Deprecated. Use
InvokedByinstead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- Parameters:
respondsTo-Deprecated. Use
InvokedByinstead.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,RespondsTo
-
invokedBy
LexConfiguration.Builder invokedBy(InvokedBy 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
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.Builderavoiding the need to create one manually viaInvokedBy.builder().When the
Consumercompletes,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:
invokedBy(InvokedBy)
-
lexBotAliasArn
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- 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
LexConfiguration.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.
- 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
LexConfiguration.Builder welcomeIntent(String 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.
-
-