Interface StartConversationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartConversationRequest.Builder,
,StartConversationRequest> LexRuntimeV2Request.Builder
,SdkBuilder<StartConversationRequest.Builder,
,StartConversationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartConversationRequest
public static interface StartConversationRequest.Builder
extends LexRuntimeV2Request.Builder, SdkPojo, CopyableBuilder<StartConversationRequest.Builder,StartConversationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbotAliasId
(String botAliasId) The alias identifier in use for the bot that processes the request.The identifier of the bot to process the request.conversationMode
(String conversationMode) The conversation type that you are using the Amazon Lex V2.conversationMode
(ConversationMode conversationMode) The conversation type that you are using the Amazon Lex V2.The locale where the session is in use.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the user session that is having the conversation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexruntimev2.model.LexRuntimeV2Request.Builder
build
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
-
botId
The identifier of the bot to process the request.
- Parameters:
botId
- The identifier of the bot to process the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasId
The alias identifier in use for the bot that processes the request.
- Parameters:
botAliasId
- The alias identifier in use for the bot that processes the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The locale where the session is in use.
- Parameters:
localeId
- The locale where the session is in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The identifier of the user session that is having the conversation.
- Parameters:
sessionId
- The identifier of the user session that is having the conversation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationMode
The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIO
you can send both audio and DTMF information. If the mode isTEXT
you can only send text.- Parameters:
conversationMode
- The conversation type that you are using the Amazon Lex V2. If the conversation mode isAUDIO
you can send both audio and DTMF information. If the mode isTEXT
you can only send text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conversationMode
The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIO
you can send both audio and DTMF information. If the mode isTEXT
you can only send text.- Parameters:
conversationMode
- The conversation type that you are using the Amazon Lex V2. If the conversation mode isAUDIO
you can send both audio and DTMF information. If the mode isTEXT
you can only send text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartConversationRequest.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
StartConversationRequest.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.
-