@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LexConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for an Amazon Lex V2 bot.
| Constructor and Description |
|---|
LexConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
LexConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getLexBotAliasArn()
The ARN of the Amazon Lex V2 bot's alias.
|
String |
getLocaleId()
Identifies the Amazon Lex V2 bot's language and locale.
|
String |
getRespondsTo()
Determines whether the Amazon Lex V2 bot responds to all standard messages.
|
String |
getWelcomeIntent()
The name of the welcome intent configured in the Amazon Lex V2 bot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLexBotAliasArn(String lexBotAliasArn)
The ARN of the Amazon Lex V2 bot's alias.
|
void |
setLocaleId(String localeId)
Identifies the Amazon Lex V2 bot's language and locale.
|
void |
setRespondsTo(String respondsTo)
Determines whether the Amazon Lex V2 bot responds to all standard messages.
|
void |
setWelcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
|
String |
toString()
Returns a string representation of this object.
|
LexConfiguration |
withLexBotAliasArn(String lexBotAliasArn)
The ARN of the Amazon Lex V2 bot's alias.
|
LexConfiguration |
withLocaleId(String localeId)
Identifies the Amazon Lex V2 bot's language and locale.
|
LexConfiguration |
withRespondsTo(RespondsTo respondsTo)
Determines whether the Amazon Lex V2 bot responds to all standard messages.
|
LexConfiguration |
withRespondsTo(String respondsTo)
Determines whether the Amazon Lex V2 bot responds to all standard messages.
|
LexConfiguration |
withWelcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
|
public void setRespondsTo(String respondsTo)
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo - Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not
supported.RespondsTopublic String getRespondsTo()
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTopublic LexConfiguration withRespondsTo(String respondsTo)
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo - Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not
supported.RespondsTopublic LexConfiguration withRespondsTo(RespondsTo respondsTo)
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo - Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not
supported.RespondsTopublic void setLexBotAliasArn(String lexBotAliasArn)
The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
lexBotAliasArn - The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIASpublic String getLexBotAliasArn()
The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIASpublic LexConfiguration withLexBotAliasArn(String lexBotAliasArn)
The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
lexBotAliasArn - The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIASpublic void setLocaleId(String localeId)
Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
localeId - Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales
in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For
more information, see Supported
languages in the Amazon Lex V2 Developer Guide.public String getLocaleId()
Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
public LexConfiguration withLocaleId(String localeId)
Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
localeId - Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales
in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For
more information, see Supported
languages in the Amazon Lex V2 Developer Guide.public void setWelcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
welcomeIntent - The name of the welcome intent configured in the Amazon Lex V2 bot.public String getWelcomeIntent()
The name of the welcome intent configured in the Amazon Lex V2 bot.
public LexConfiguration withWelcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
welcomeIntent - The name of the welcome intent configured in the Amazon Lex V2 bot.public String toString()
toString in class ObjectObject.toString()public LexConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.