Interface LexBotConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LexBotConfig.Builder,
,LexBotConfig> SdkBuilder<LexBotConfig.Builder,
,LexBotConfig> SdkPojo
- Enclosing class:
LexBotConfig
public static interface LexBotConfig.Builder
extends SdkPojo, CopyableBuilder<LexBotConfig.Builder,LexBotConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LexBotConfig.Builder
lexBot
(Consumer<LexBot.Builder> lexBot) Sets the value of the LexBot property for this object.Sets the value of the LexBot property for this object.default LexBotConfig.Builder
lexV2Bot
(Consumer<LexV2Bot.Builder> lexV2Bot) Configuration information of an Amazon Lex V2 bot.Configuration information of an 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
-
lexBot
Sets the value of the LexBot property for this object.- Parameters:
lexBot
- The new value for the LexBot property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBot
Sets the value of the LexBot property for this object. This is a convenience method that creates an instance of theLexBot.Builder
avoiding the need to create one manually viaLexBot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolexBot(LexBot)
.- Parameters:
lexBot
- a consumer that will call methods onLexBot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lexV2Bot
Configuration information of an Amazon Lex V2 bot.
- Parameters:
lexV2Bot
- Configuration information of an Amazon Lex V2 bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexV2Bot
Configuration information of an Amazon Lex V2 bot.
This is a convenience method that creates an instance of theLexV2Bot.Builder
avoiding the need to create one manually viaLexV2Bot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolexV2Bot(LexV2Bot)
.- Parameters:
lexV2Bot
- a consumer that will call methods onLexV2Bot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-