@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecognizeTextRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RecognizeTextRequest() |
Modifier and Type | Method and Description |
---|---|
RecognizeTextRequest |
addRequestAttributesEntry(String key,
String value)
Add a single RequestAttributes entry
|
RecognizeTextRequest |
clearRequestAttributesEntries()
Removes all the entries added into RequestAttributes.
|
RecognizeTextRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotAliasId()
The alias identifier in use for the bot that processes the request.
|
String |
getBotId()
The identifier of the bot that processes the request.
|
String |
getLocaleId()
The locale where the session is in use.
|
Map<String,String> |
getRequestAttributes()
Request-specific information passed between the client application and Amazon Lex V2
|
String |
getSessionId()
The identifier of the user session that is having the conversation.
|
SessionState |
getSessionState()
The current state of the dialog between the user and the bot.
|
String |
getText()
The text that the user entered.
|
int |
hashCode() |
void |
setBotAliasId(String botAliasId)
The alias identifier in use for the bot that processes the request.
|
void |
setBotId(String botId)
The identifier of the bot that processes the request.
|
void |
setLocaleId(String localeId)
The locale where the session is in use.
|
void |
setRequestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between the client application and Amazon Lex V2
|
void |
setSessionId(String sessionId)
The identifier of the user session that is having the conversation.
|
void |
setSessionState(SessionState sessionState)
The current state of the dialog between the user and the bot.
|
void |
setText(String text)
The text that the user entered.
|
String |
toString()
Returns a string representation of this object.
|
RecognizeTextRequest |
withBotAliasId(String botAliasId)
The alias identifier in use for the bot that processes the request.
|
RecognizeTextRequest |
withBotId(String botId)
The identifier of the bot that processes the request.
|
RecognizeTextRequest |
withLocaleId(String localeId)
The locale where the session is in use.
|
RecognizeTextRequest |
withRequestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between the client application and Amazon Lex V2
|
RecognizeTextRequest |
withSessionId(String sessionId)
The identifier of the user session that is having the conversation.
|
RecognizeTextRequest |
withSessionState(SessionState sessionState)
The current state of the dialog between the user and the bot.
|
RecognizeTextRequest |
withText(String text)
The text that the user entered.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBotId(String botId)
The identifier of the bot that processes the request.
botId
- The identifier of the bot that processes the request.public String getBotId()
The identifier of the bot that processes the request.
public RecognizeTextRequest withBotId(String botId)
The identifier of the bot that processes the request.
botId
- The identifier of the bot that processes the request.public void setBotAliasId(String botAliasId)
The alias identifier in use for the bot that processes the request.
botAliasId
- The alias identifier in use for the bot that processes the request.public String getBotAliasId()
The alias identifier in use for the bot that processes the request.
public RecognizeTextRequest withBotAliasId(String botAliasId)
The alias identifier in use for the bot that processes the request.
botAliasId
- The alias identifier in use for the bot that processes the request.public void setLocaleId(String localeId)
The locale where the session is in use.
localeId
- The locale where the session is in use.public String getLocaleId()
The locale where the session is in use.
public RecognizeTextRequest withLocaleId(String localeId)
The locale where the session is in use.
localeId
- The locale where the session is in use.public void setSessionId(String sessionId)
The identifier of the user session that is having the conversation.
sessionId
- The identifier of the user session that is having the conversation.public String getSessionId()
The identifier of the user session that is having the conversation.
public RecognizeTextRequest withSessionId(String sessionId)
The identifier of the user session that is having the conversation.
sessionId
- The identifier of the user session that is having the conversation.public void setText(String text)
The text that the user entered. Amazon Lex V2 interprets this text.
text
- The text that the user entered. Amazon Lex V2 interprets this text.public String getText()
The text that the user entered. Amazon Lex V2 interprets this text.
public RecognizeTextRequest withText(String text)
The text that the user entered. Amazon Lex V2 interprets this text.
text
- The text that the user entered. Amazon Lex V2 interprets this text.public void setSessionState(SessionState sessionState)
The current state of the dialog between the user and the bot.
sessionState
- The current state of the dialog between the user and the bot.public SessionState getSessionState()
The current state of the dialog between the user and the bot.
public RecognizeTextRequest withSessionState(SessionState sessionState)
The current state of the dialog between the user and the bot.
sessionState
- The current state of the dialog between the user and the bot.public Map<String,String> getRequestAttributes()
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 prefix x-amz-lex:
.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request
attributes with the prefix x-amz-lex:
.
public void setRequestAttributes(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 prefix x-amz-lex:
.
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 prefix x-amz-lex:
.
public RecognizeTextRequest withRequestAttributes(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 prefix x-amz-lex:
.
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 prefix x-amz-lex:
.
public RecognizeTextRequest addRequestAttributesEntry(String key, String value)
public RecognizeTextRequest clearRequestAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public RecognizeTextRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()