@Stability(value=Stable) public static final class CfnBot.IntentProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.IntentProperty>
CfnBot.IntentProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.IntentProperty.Builder name(String name)
CfnBot.IntentProperty.getName()name - The name of the intent. This parameter is required.
Intent names must be unique within the locale that contains the intent and can't match the name of any built-in intent.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder description(String description)
CfnBot.IntentProperty.getDescription()description - A description of the intent.
Use the description to help identify the intent in lists.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder dialogCodeHook(CfnBot.DialogCodeHookSettingProperty dialogCodeHook)
CfnBot.IntentProperty.getDialogCodeHook()dialogCodeHook - Specifies that Amazon Lex invokes the alias Lambda function for each user input.
You can invoke this Lambda function to personalize user interaction.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder dialogCodeHook(IResolvable dialogCodeHook)
CfnBot.IntentProperty.getDialogCodeHook()dialogCodeHook - Specifies that Amazon Lex invokes the alias Lambda function for each user input.
You can invoke this Lambda function to personalize user interaction.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder fulfillmentCodeHook(CfnBot.FulfillmentCodeHookSettingProperty fulfillmentCodeHook)
CfnBot.IntentProperty.getFulfillmentCodeHook()fulfillmentCodeHook - 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.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder fulfillmentCodeHook(IResolvable fulfillmentCodeHook)
CfnBot.IntentProperty.getFulfillmentCodeHook()fulfillmentCodeHook - 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.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder inputContexts(IResolvable inputContexts)
CfnBot.IntentProperty.getInputContexts()inputContexts - A list of contexts that must be active for this intent to be considered by Amazon Lex .this@Stability(value=Stable) public CfnBot.IntentProperty.Builder inputContexts(List<? extends Object> inputContexts)
CfnBot.IntentProperty.getInputContexts()inputContexts - A list of contexts that must be active for this intent to be considered by Amazon Lex .this@Stability(value=Stable) public CfnBot.IntentProperty.Builder intentClosingSetting(CfnBot.IntentClosingSettingProperty intentClosingSetting)
CfnBot.IntentProperty.getIntentClosingSetting()intentClosingSetting - Sets the response that Amazon Lex sends to the user when the intent is closed.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder intentClosingSetting(IResolvable intentClosingSetting)
CfnBot.IntentProperty.getIntentClosingSetting()intentClosingSetting - Sets the response that Amazon Lex sends to the user when the intent is closed.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder intentConfirmationSetting(CfnBot.IntentConfirmationSettingProperty intentConfirmationSetting)
CfnBot.IntentProperty.getIntentConfirmationSetting()intentConfirmationSetting - 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.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder intentConfirmationSetting(IResolvable intentConfirmationSetting)
CfnBot.IntentProperty.getIntentConfirmationSetting()intentConfirmationSetting - 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.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder kendraConfiguration(CfnBot.KendraConfigurationProperty kendraConfiguration)
CfnBot.IntentProperty.getKendraConfiguration()kendraConfiguration - Configuration information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called with Amazon Lex can't determine another intent to invoke.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder kendraConfiguration(IResolvable kendraConfiguration)
CfnBot.IntentProperty.getKendraConfiguration()kendraConfiguration - Configuration information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called with Amazon Lex can't determine another intent to invoke.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder outputContexts(IResolvable outputContexts)
CfnBot.IntentProperty.getOutputContexts()outputContexts - A list of contexts that the intent activates when it is fulfilled.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder outputContexts(List<? extends Object> outputContexts)
CfnBot.IntentProperty.getOutputContexts()outputContexts - A list of contexts that the intent activates when it is fulfilled.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder parentIntentSignature(String parentIntentSignature)
CfnBot.IntentProperty.getParentIntentSignature()parentIntentSignature - A unique identifier for the built-in intent to base this intent on.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder sampleUtterances(IResolvable sampleUtterances)
CfnBot.IntentProperty.getSampleUtterances()sampleUtterances - A list of utterances that a user might say to signal the intent.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder sampleUtterances(List<? extends Object> sampleUtterances)
CfnBot.IntentProperty.getSampleUtterances()sampleUtterances - A list of utterances that a user might say to signal the intent.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder slotPriorities(IResolvable slotPriorities)
CfnBot.IntentProperty.getSlotPriorities()slotPriorities - Indicates the priority for slots.
Amazon Lex prompts the user for slot values in priority order.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder slotPriorities(List<? extends Object> slotPriorities)
CfnBot.IntentProperty.getSlotPriorities()slotPriorities - Indicates the priority for slots.
Amazon Lex prompts the user for slot values in priority order.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder slots(IResolvable slots)
CfnBot.IntentProperty.getSlots()slots - A list of slots that the intent requires for fulfillment.this@Stability(value=Stable) public CfnBot.IntentProperty.Builder slots(List<? extends Object> slots)
CfnBot.IntentProperty.getSlots()slots - A list of slots that the intent requires for fulfillment.this@Stability(value=Stable) public CfnBot.IntentProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.IntentProperty>CfnBot.IntentPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.