Interface CfnBot.IntentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.IntentProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.IntentProperty
extends software.amazon.jsii.JsiiSerializable
Represents an action that the user wants to perform.
Example:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.IntentProperty
static final class
An implementation forCfnBot.IntentProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
A description of the intent.default Object
Specifies that Amazon Lex invokes the alias Lambda function for each user input.default Object
Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment.default Object
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.default Object
A list of contexts that must be active for this intent to be considered by Amazon Lex .default Object
Sets the response that Amazon Lex sends to the user when the intent is closed.default Object
Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent.default Object
Provides configuration information for theAMAZON.KendraSearchIntent
intent.getName()
The name of the intent.default Object
A list of contexts that the intent activates when it is fulfilled.default String
A unique identifier for the built-in intent to base this intent on.default Object
A list of utterances that a user might say to signal the intent.default Object
Indicates the priority for slots.default Object
getSlots()
A list of slots that the intent requires for fulfillment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the intent.Intent names must be unique within the locale that contains the intent and can't match the name of any built-in intent.
- See Also:
-
getDescription
A description of the intent.Use the description to help identify the intent in lists.
- See Also:
-
getDialogCodeHook
Specifies that Amazon Lex invokes the alias Lambda function for each user input.You can invoke this Lambda function to personalize user interaction.
- See Also:
-
getFulfillmentCodeHook
Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment.You can invoke this function to complete the bot's transaction with the user.
- See Also:
-
getInitialResponseSetting
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.- See Also:
-
getInputContexts
A list of contexts that must be active for this intent to be considered by Amazon Lex .- See Also:
-
getIntentClosingSetting
Sets the response that Amazon Lex sends to the user when the intent is closed.- See Also:
-
getIntentConfirmationSetting
Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent.If the user answers "no," the settings contain a statement that is sent to the user to end the intent.
- See Also:
-
getKendraConfiguration
Provides configuration information for theAMAZON.KendraSearchIntent
intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.- See Also:
-
getOutputContexts
A list of contexts that the intent activates when it is fulfilled.- See Also:
-
getParentIntentSignature
A unique identifier for the built-in intent to base this intent on.- See Also:
-
getSampleUtterances
A list of utterances that a user might say to signal the intent.- See Also:
-
getSlotPriorities
Indicates the priority for slots.Amazon Lex prompts the user for slot values in priority order.
- See Also:
-
getSlots
A list of slots that the intent requires for fulfillment.- See Also:
-
builder
- Returns:
- a
CfnBot.IntentProperty.Builder
ofCfnBot.IntentProperty
-