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.BuilderThe 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLexConfiguration.builder().When the
Consumercompletes,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:
-