Interface AssociateBotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<AssociateBotRequest.Builder,AssociateBotRequest>,SdkBuilder<AssociateBotRequest.Builder,AssociateBotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociateBotRequest
public static interface AssociateBotRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<AssociateBotRequest.Builder,AssociateBotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociateBotRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.default AssociateBotRequest.BuilderlexBot(Consumer<LexBot.Builder> lexBot)Sets the value of the LexBot property for this object.AssociateBotRequest.BuilderlexBot(LexBot lexBot)Sets the value of the LexBot property for this object.default AssociateBotRequest.BuilderlexV2Bot(Consumer<LexV2Bot.Builder> lexV2Bot)The Amazon Lex V2 bot to associate with the instance.AssociateBotRequest.BuilderlexV2Bot(LexV2Bot lexV2Bot)The Amazon Lex V2 bot to associate with the instance.AssociateBotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateBotRequest.BuilderoverrideConfiguration(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, sdkFields
-
-
-
-
Method Detail
-
instanceId
AssociateBotRequest.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
AssociateBotRequest.Builder lexBot(LexBot 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
default AssociateBotRequest.Builder lexBot(Consumer<LexBot.Builder> lexBot)
Sets the value of the LexBot property for this object. This is a convenience method that creates an instance of theLexBot.Builderavoiding the need to create one manually viaLexBot.builder().When the
Consumercompletes,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)
-
lexV2Bot
AssociateBotRequest.Builder lexV2Bot(LexV2Bot lexV2Bot)
The Amazon Lex V2 bot to associate with the instance.
- Parameters:
lexV2Bot- The Amazon Lex V2 bot to associate with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexV2Bot
default AssociateBotRequest.Builder lexV2Bot(Consumer<LexV2Bot.Builder> lexV2Bot)
The Amazon Lex V2 bot to associate with the instance.
This is a convenience method that creates an instance of theLexV2Bot.Builderavoiding the need to create one manually viaLexV2Bot.builder().When the
Consumercompletes,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:
lexV2Bot(LexV2Bot)
-
overrideConfiguration
AssociateBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-