Interface AssociateLexBotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<AssociateLexBotRequest.Builder,
,AssociateLexBotRequest> SdkBuilder<AssociateLexBotRequest.Builder,
,AssociateLexBotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateLexBotRequest
public static interface AssociateLexBotRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<AssociateLexBotRequest.Builder,AssociateLexBotRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId
(String instanceId) The identifier of the Amazon Connect instance.default AssociateLexBotRequest.Builder
lexBot
(Consumer<LexBot.Builder> lexBot) The Amazon Lex bot to associate with the instance.The Amazon Lex bot to associate with the instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
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
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBot
The Amazon Lex bot to associate with the instance.
- Parameters:
lexBot
- The Amazon Lex bot to associate with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexBot
The Amazon Lex bot to associate with the instance.
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:
-
overrideConfiguration
AssociateLexBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateLexBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-