@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostTextRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PostTextRequest() |
Modifier and Type | Method and Description |
---|---|
PostTextRequest |
addRequestAttributesEntry(String key,
String value) |
PostTextRequest |
addSessionAttributesEntry(String key,
String value) |
PostTextRequest |
clearRequestAttributesEntries()
Removes all the entries added into RequestAttributes.
|
PostTextRequest |
clearSessionAttributesEntries()
Removes all the entries added into SessionAttributes.
|
PostTextRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotAlias()
The alias of the Amazon Lex bot.
|
String |
getBotName()
The name of the Amazon Lex bot.
|
String |
getInputText()
The text that the user entered (Amazon Lex interprets this text).
|
Map<String,String> |
getRequestAttributes()
Request-specific information passed between Amazon Lex and a client application.
|
Map<String,String> |
getSessionAttributes()
Application-specific information passed between Amazon Lex and a client application.
|
String |
getUserId()
The ID of the client application user.
|
int |
hashCode() |
void |
setBotAlias(String botAlias)
The alias of the Amazon Lex bot.
|
void |
setBotName(String botName)
The name of the Amazon Lex bot.
|
void |
setInputText(String inputText)
The text that the user entered (Amazon Lex interprets this text).
|
void |
setRequestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between Amazon Lex and a client application.
|
void |
setSessionAttributes(Map<String,String> sessionAttributes)
Application-specific information passed between Amazon Lex and a client application.
|
void |
setUserId(String userId)
The ID of the client application user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PostTextRequest |
withBotAlias(String botAlias)
The alias of the Amazon Lex bot.
|
PostTextRequest |
withBotName(String botName)
The name of the Amazon Lex bot.
|
PostTextRequest |
withInputText(String inputText)
The text that the user entered (Amazon Lex interprets this text).
|
PostTextRequest |
withRequestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between Amazon Lex and a client application.
|
PostTextRequest |
withSessionAttributes(Map<String,String> sessionAttributes)
Application-specific information passed between Amazon Lex and a client application.
|
PostTextRequest |
withUserId(String userId)
The ID of the client application user.
|
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 setBotName(String botName)
The name of the Amazon Lex bot.
botName
- The name of the Amazon Lex bot.public String getBotName()
The name of the Amazon Lex bot.
public PostTextRequest withBotName(String botName)
The name of the Amazon Lex bot.
botName
- The name of the Amazon Lex bot.public void setBotAlias(String botAlias)
The alias of the Amazon Lex bot.
botAlias
- The alias of the Amazon Lex bot.public String getBotAlias()
The alias of the Amazon Lex bot.
public PostTextRequest withBotAlias(String botAlias)
The alias of the Amazon Lex bot.
botAlias
- The alias of the Amazon Lex bot.public void setUserId(String userId)
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. At
runtime, each request must contain the userID
field.
To decide the user ID to use for your application, consider the following factors.
The userID
field must not contain any personally identifiable information of the user, for example,
name, personal identification numbers, or other end user personal information.
If you want a user to start a conversation on one device and continue on another device, use a user-specific identifier.
If you want the same user to be able to have two independent conversations on two different devices, choose a device-specific identifier.
A user can't have two independent conversations with two different versions of the same bot. For example, a user can't have a conversation with the PROD and BETA versions of the same bot. If you anticipate that a user will need to have conversation with two different versions, for example, while testing, include the bot alias in the user ID to separate the two conversations.
userId
- The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your
bot. At runtime, each request must contain the userID
field.
To decide the user ID to use for your application, consider the following factors.
The userID
field must not contain any personally identifiable information of the user, for
example, name, personal identification numbers, or other end user personal information.
If you want a user to start a conversation on one device and continue on another device, use a user-specific identifier.
If you want the same user to be able to have two independent conversations on two different devices, choose a device-specific identifier.
A user can't have two independent conversations with two different versions of the same bot. For example, a user can't have a conversation with the PROD and BETA versions of the same bot. If you anticipate that a user will need to have conversation with two different versions, for example, while testing, include the bot alias in the user ID to separate the two conversations.
public String getUserId()
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. At
runtime, each request must contain the userID
field.
To decide the user ID to use for your application, consider the following factors.
The userID
field must not contain any personally identifiable information of the user, for example,
name, personal identification numbers, or other end user personal information.
If you want a user to start a conversation on one device and continue on another device, use a user-specific identifier.
If you want the same user to be able to have two independent conversations on two different devices, choose a device-specific identifier.
A user can't have two independent conversations with two different versions of the same bot. For example, a user can't have a conversation with the PROD and BETA versions of the same bot. If you anticipate that a user will need to have conversation with two different versions, for example, while testing, include the bot alias in the user ID to separate the two conversations.
userID
field.
To decide the user ID to use for your application, consider the following factors.
The userID
field must not contain any personally identifiable information of the user, for
example, name, personal identification numbers, or other end user personal information.
If you want a user to start a conversation on one device and continue on another device, use a user-specific identifier.
If you want the same user to be able to have two independent conversations on two different devices, choose a device-specific identifier.
A user can't have two independent conversations with two different versions of the same bot. For example, a user can't have a conversation with the PROD and BETA versions of the same bot. If you anticipate that a user will need to have conversation with two different versions, for example, while testing, include the bot alias in the user ID to separate the two conversations.
public PostTextRequest withUserId(String userId)
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. At
runtime, each request must contain the userID
field.
To decide the user ID to use for your application, consider the following factors.
The userID
field must not contain any personally identifiable information of the user, for example,
name, personal identification numbers, or other end user personal information.
If you want a user to start a conversation on one device and continue on another device, use a user-specific identifier.
If you want the same user to be able to have two independent conversations on two different devices, choose a device-specific identifier.
A user can't have two independent conversations with two different versions of the same bot. For example, a user can't have a conversation with the PROD and BETA versions of the same bot. If you anticipate that a user will need to have conversation with two different versions, for example, while testing, include the bot alias in the user ID to separate the two conversations.
userId
- The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your
bot. At runtime, each request must contain the userID
field.
To decide the user ID to use for your application, consider the following factors.
The userID
field must not contain any personally identifiable information of the user, for
example, name, personal identification numbers, or other end user personal information.
If you want a user to start a conversation on one device and continue on another device, use a user-specific identifier.
If you want the same user to be able to have two independent conversations on two different devices, choose a device-specific identifier.
A user can't have two independent conversations with two different versions of the same bot. For example, a user can't have a conversation with the PROD and BETA versions of the same bot. If you anticipate that a user will need to have conversation with two different versions, for example, while testing, include the bot alias in the user ID to separate the two conversations.
public Map<String,String> getSessionAttributes()
Application-specific information passed between Amazon Lex and a client application.
For more information, see Setting Session Attributes.
For more information, see Setting Session Attributes.
public void setSessionAttributes(Map<String,String> sessionAttributes)
Application-specific information passed between Amazon Lex and a client application.
For more information, see Setting Session Attributes.
sessionAttributes
- Application-specific information passed between Amazon Lex and a client application.
For more information, see Setting Session Attributes.
public PostTextRequest withSessionAttributes(Map<String,String> sessionAttributes)
Application-specific information passed between Amazon Lex and a client application.
For more information, see Setting Session Attributes.
sessionAttributes
- Application-specific information passed between Amazon Lex and a client application.
For more information, see Setting Session Attributes.
public PostTextRequest addSessionAttributesEntry(String key, String value)
public PostTextRequest clearSessionAttributesEntries()
public Map<String,String> getRequestAttributes()
Request-specific information passed between Amazon Lex and a client application.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request attributes
with the prefix x-amz-lex:
.
For more information, see Setting Request Attributes.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request
attributes with the prefix x-amz-lex:
.
For more information, see Setting Request Attributes.
public void setRequestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between Amazon Lex and a client application.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request attributes
with the prefix x-amz-lex:
.
For more information, see Setting Request Attributes.
requestAttributes
- Request-specific information passed between Amazon Lex and a client application.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request
attributes with the prefix x-amz-lex:
.
For more information, see Setting Request Attributes.
public PostTextRequest withRequestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between Amazon Lex and a client application.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request attributes
with the prefix x-amz-lex:
.
For more information, see Setting Request Attributes.
requestAttributes
- Request-specific information passed between Amazon Lex and a client application.
The namespace x-amz-lex:
is reserved for special attributes. Don't create any request
attributes with the prefix x-amz-lex:
.
For more information, see Setting Request Attributes.
public PostTextRequest addRequestAttributesEntry(String key, String value)
public PostTextRequest clearRequestAttributesEntries()
public void setInputText(String inputText)
The text that the user entered (Amazon Lex interprets this text).
inputText
- The text that the user entered (Amazon Lex interprets this text).public String getInputText()
The text that the user entered (Amazon Lex interprets this text).
public PostTextRequest withInputText(String inputText)
The text that the user entered (Amazon Lex interprets this text).
inputText
- The text that the user entered (Amazon Lex interprets this text).public String toString()
toString
in class Object
Object.toString()
public PostTextRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.