Class LexConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LexConfiguration.Builder,LexConfiguration>
The configuration for an Amazon Lex V2 bot.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LexConfiguration.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InvokedBySpecifies the type of message that triggers a bot.final StringThe ARN of the Amazon Lex V2 bot's alias.final StringlocaleId()Identifies the Amazon Lex V2 bot's language and locale.final RespondsTofinal Stringstatic Class<? extends LexConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe name of the welcome intent configured in the Amazon Lex V2 bot.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
respondsTo
Deprecated. Use
InvokedByinstead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
If the service returns an enum value that is not available in the current SDK version,
respondsTowill returnRespondsTo.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrespondsToAsString().- Returns:
Deprecated. Use
InvokedByinstead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- See Also:
-
respondsToAsString
Deprecated. Use
InvokedByinstead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
If the service returns an enum value that is not available in the current SDK version,
respondsTowill returnRespondsTo.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrespondsToAsString().- Returns:
Deprecated. Use
InvokedByinstead.Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
- See Also:
-
invokedBy
Specifies the type of message that triggers a bot.
- Returns:
- Specifies the type of message that triggers a bot.
-
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- Returns:
- The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
-
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.
- Returns:
- 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.
-
welcomeIntent
The name of the welcome intent configured in the Amazon Lex V2 bot.
- Returns:
- The name of the welcome intent configured in the Amazon Lex V2 bot.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LexConfiguration.Builder,LexConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-