Interface RecognizeTextRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RecognizeTextRequest.Builder,RecognizeTextRequest>,LexRuntimeV2Request.Builder,SdkBuilder<RecognizeTextRequest.Builder,RecognizeTextRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RecognizeTextRequest
public static interface RecognizeTextRequest.Builder extends LexRuntimeV2Request.Builder, SdkPojo, CopyableBuilder<RecognizeTextRequest.Builder,RecognizeTextRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RecognizeTextRequest.BuilderbotAliasId(String botAliasId)The alias identifier in use for the bot that processes the request.RecognizeTextRequest.BuilderbotId(String botId)The identifier of the bot that processes the request.RecognizeTextRequest.BuilderlocaleId(String localeId)The locale where the session is in use.RecognizeTextRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RecognizeTextRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RecognizeTextRequest.BuilderrequestAttributes(Map<String,String> requestAttributes)Request-specific information passed between the client application and Amazon Lex V2RecognizeTextRequest.BuildersessionId(String sessionId)The identifier of the user session that is having the conversation.default RecognizeTextRequest.BuildersessionState(Consumer<SessionState.Builder> sessionState)The current state of the dialog between the user and the bot.RecognizeTextRequest.BuildersessionState(SessionState sessionState)The current state of the dialog between the user and the bot.RecognizeTextRequest.Buildertext(String text)The text that the user entered.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
botId
RecognizeTextRequest.Builder botId(String botId)
The identifier of the bot that processes the request.
- Parameters:
botId- The identifier of the bot that processes the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasId
RecognizeTextRequest.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
RecognizeTextRequest.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
RecognizeTextRequest.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.
-
text
RecognizeTextRequest.Builder text(String text)
The text that the user entered. Amazon Lex V2 interprets this text.
- Parameters:
text- The text that the user entered. Amazon Lex V2 interprets this text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionState
RecognizeTextRequest.Builder sessionState(SessionState sessionState)
The current state of the dialog between the user and the bot.
- Parameters:
sessionState- The current state of the dialog between the user and the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionState
default RecognizeTextRequest.Builder sessionState(Consumer<SessionState.Builder> sessionState)
The current state of the dialog between the user and the bot.
This is a convenience method that creates an instance of theSessionState.Builderavoiding the need to create one manually viaSessionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionState(SessionState).- Parameters:
sessionState- a consumer that will call methods onSessionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sessionState(SessionState)
-
requestAttributes
RecognizeTextRequest.Builder requestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between the client application and Amazon Lex V2
The namespace
x-amz-lex:is reserved for special attributes. Don't create any request attributes with the prefixx-amz-lex:.- Parameters:
requestAttributes- Request-specific information passed between the client application and Amazon Lex V2The namespace
x-amz-lex:is reserved for special attributes. Don't create any request attributes with the prefixx-amz-lex:.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RecognizeTextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RecognizeTextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-