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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociateLexBotRequest.Builder
instanceId(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.AssociateLexBotRequest.Builder
lexBot(LexBot lexBot)
The Amazon Lex bot to associate with the instance.AssociateLexBotRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AssociateLexBotRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceId
AssociateLexBotRequest.Builder instanceId(String 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
AssociateLexBotRequest.Builder lexBot(LexBot 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
default AssociateLexBotRequest.Builder lexBot(Consumer<LexBot.Builder> 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:
lexBot(LexBot)
-
overrideConfiguration
AssociateLexBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateLexBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-