@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) |
InvokedBy |
getInvokedBy()
Specifies the type of message that triggers a bot.
|
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()
|
String |
getWelcomeIntent()
The name of the welcome intent configured in the Amazon Lex V2 bot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInvokedBy(InvokedBy invokedBy)
Specifies the type of message that triggers a bot.
|
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)
|
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 |
withInvokedBy(InvokedBy invokedBy)
Specifies the type of message that triggers a bot.
|
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)
|
LexConfiguration |
withRespondsTo(String respondsTo)
|
LexConfiguration |
withWelcomeIntent(String welcomeIntent)
The name of the welcome intent configured in the Amazon Lex V2 bot.
|
public void setRespondsTo(String respondsTo)
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo -
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTopublic String getRespondsTo()
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTopublic LexConfiguration withRespondsTo(String respondsTo)
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo -
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTopublic LexConfiguration withRespondsTo(RespondsTo respondsTo)
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
respondsTo -
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
RespondsTopublic void setInvokedBy(InvokedBy invokedBy)
Specifies the type of message that triggers a bot.
invokedBy - Specifies the type of message that triggers a bot.public InvokedBy getInvokedBy()
Specifies the type of message that triggers a bot.
public LexConfiguration withInvokedBy(InvokedBy invokedBy)
Specifies the type of message that triggers a bot.
invokedBy - Specifies the type of message that triggers a bot.public 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.