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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartConversationRequest.BuilderbotAliasId(String botAliasId)The alias identifier in use for the bot that processes the request.StartConversationRequest.BuilderbotId(String botId)The identifier of the bot to process the request.StartConversationRequest.BuilderconversationMode(String conversationMode)The conversation type that you are using the Amazon Lex V2.StartConversationRequest.BuilderconversationMode(ConversationMode conversationMode)The conversation type that you are using the Amazon Lex V2.StartConversationRequest.BuilderlocaleId(String localeId)The locale where the session is in use.StartConversationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartConversationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartConversationRequest.BuildersessionId(String sessionId)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 Detail
-
botId
StartConversationRequest.Builder botId(String 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
StartConversationRequest.Builder botAliasId(String 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
StartConversationRequest.Builder localeId(String 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
StartConversationRequest.Builder sessionId(String 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
StartConversationRequest.Builder conversationMode(String conversationMode)
The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text.- Parameters:
conversationMode- The conversation type that you are using the Amazon Lex V2. If the conversation mode isAUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConversationMode,ConversationMode
-
conversationMode
StartConversationRequest.Builder conversationMode(ConversationMode conversationMode)
The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text.- Parameters:
conversationMode- The conversation type that you are using the Amazon Lex V2. If the conversation mode isAUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConversationMode,ConversationMode
-
overrideConfiguration
StartConversationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartConversationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-