Class V2modelsIntentConfirmationSetting


  • public final class V2modelsIntentConfirmationSetting
    extends java.lang.Object
    • Method Detail

      • active

        public java.util.Optional<java.lang.Boolean> active()
        Returns:
        Whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.
      • codeHook

        public java.util.Optional<V2modelsIntentConfirmationSettingCodeHook> codeHook()
        Returns:
        Configuration block for the intent's confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is `invoke_dialog_code_hook`. See `code_hook`.
      • confirmationNextStep

        public java.util.Optional<V2modelsIntentConfirmationSettingConfirmationNextStep> confirmationNextStep()
        Returns:
        Configuration block for the next step that the bot executes when the customer confirms the intent. See `confirmation_next_step`.
      • declinationNextStep

        public java.util.Optional<V2modelsIntentConfirmationSettingDeclinationNextStep> declinationNextStep()
        Returns:
        Configuration block for the next step that the bot executes when the customer declines the intent. See `declination_next_step`.
      • declinationResponse

        public java.util.Optional<V2modelsIntentConfirmationSettingDeclinationResponse> declinationResponse()
        Returns:
        Configuration block for when the user answers "no" to the question defined in `prompt_specification`, Amazon Lex responds with this response to acknowledge that the intent was canceled. See `declination_response`.
      • failureConditional

        public java.util.Optional<V2modelsIntentConfirmationSettingFailureConditional> failureConditional()
        Returns:
        Configuration block for conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition. See `failure_conditional`.
      • failureNextStep

        public java.util.Optional<V2modelsIntentConfirmationSettingFailureNextStep> failureNextStep()
        Returns:
        Configuration block for the next step to take in the conversation if the confirmation step fails. See `failure_next_step`.
      • promptSpecification

        public V2modelsIntentConfirmationSettingPromptSpecification promptSpecification()
        Returns:
        Configuration block for prompting the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. See `prompt_specification`.