Interface Configuration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Configuration.Builder,
,Configuration> SdkBuilder<Configuration.Builder,
,Configuration> SdkPojo
- Enclosing class:
Configuration
public static interface Configuration.Builder
extends SdkPojo, CopyableBuilder<Configuration.Builder,Configuration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Configuration.Builder
The configuration for an Amazon Lex V2 bot.lex
(LexConfiguration lex) The configuration for 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
-
lex
The configuration for an Amazon Lex V2 bot.
- Parameters:
lex
- The configuration for an Amazon Lex V2 bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lex
The configuration for an Amazon Lex V2 bot.
This is a convenience method that creates an instance of theLexConfiguration.Builder
avoiding the need to create one manually viaLexConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolex(LexConfiguration)
.- Parameters:
lex
- a consumer that will call methods onLexConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-