Interface DisassociateBotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<DisassociateBotRequest.Builder,
,DisassociateBotRequest> SdkBuilder<DisassociateBotRequest.Builder,
,DisassociateBotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DisassociateBotRequest
@Mutable
@NotThreadSafe
public static interface DisassociateBotRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<DisassociateBotRequest.Builder,DisassociateBotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.instanceId
(String instanceId) The identifier of the Amazon Connect instance.default DisassociateBotRequest.Builder
lexBot
(Consumer<LexBot.Builder> lexBot) Sets the value of the LexBot property for this object.Sets the value of the LexBot property for this object.default DisassociateBotRequest.Builder
lexV2Bot
(Consumer<LexV2Bot.Builder> lexV2Bot) The Amazon Lex V2 bot to disassociate from the instance.The Amazon Lex V2 bot to disassociate from 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, sdkFieldNameToField, 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
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
Sets the value of the LexBot property for this object. 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:
-
lexV2Bot
The Amazon Lex V2 bot to disassociate from the instance.
- Parameters:
lexV2Bot
- The Amazon Lex V2 bot to disassociate from the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lexV2Bot
The Amazon Lex V2 bot to disassociate from the instance.
This is a convenience method that creates an instance of theLexV2Bot.Builder
avoiding the need to create one manually viaLexV2Bot.builder()
.When the
Consumer
completes,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:
-
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
DisassociateBotRequest.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
DisassociateBotRequest.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.
-