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.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.AssociateLexBotRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.default AssociateLexBotRequest.BuilderlexBot(Consumer<LexBot.Builder> lexBot)The Amazon Lex bot to associate with the instance.AssociateLexBotRequest.BuilderlexBot(LexBot lexBot)The Amazon Lex bot to associate with the instance.AssociateLexBotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateLexBotRequest.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, 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.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)
-
clientToken
AssociateLexBotRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateLexBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateLexBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-