Class V2modelsIntentArgs.Builder

  • Enclosing class:
    V2modelsIntentArgs

    public static final class V2modelsIntentArgs.Builder
    extends java.lang.Object
    • Method Detail

      • botId

        public V2modelsIntentArgs.Builder botId​(com.pulumi.core.Output<java.lang.String> botId)
        Parameters:
        botId - Identifier of the bot associated with this intent.
        Returns:
        builder
      • botId

        public V2modelsIntentArgs.Builder botId​(java.lang.String botId)
        Parameters:
        botId - Identifier of the bot associated with this intent.
        Returns:
        builder
      • botVersion

        public V2modelsIntentArgs.Builder botVersion​(com.pulumi.core.Output<java.lang.String> botVersion)
        Parameters:
        botVersion - Version of the bot associated with this intent.
        Returns:
        builder
      • botVersion

        public V2modelsIntentArgs.Builder botVersion​(java.lang.String botVersion)
        Parameters:
        botVersion - Version of the bot associated with this intent.
        Returns:
        builder
      • closingSetting

        public V2modelsIntentArgs.Builder closingSetting​(@Nullable
                                                         com.pulumi.core.Output<V2modelsIntentClosingSettingArgs> closingSetting)
        Parameters:
        closingSetting - Configuration block for the response that Amazon Lex sends to the user when the intent is closed. See `closingSetting`.
        Returns:
        builder
      • confirmationSetting

        public V2modelsIntentArgs.Builder confirmationSetting​(@Nullable
                                                              com.pulumi.core.Output<V2modelsIntentConfirmationSettingArgs> confirmationSetting)
        Parameters:
        confirmationSetting - Configuration block for 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. If you configure this block without `prompt_specification.*.prompt_attempts_specification`, AWS will provide default configurations for `Initial` and `Retry1` `promptAttemptsSpecification`s. This will cause Terraform to report differences. Use the `confirmationSetting` configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See `confirmationSetting`.
        Returns:
        builder
      • confirmationSetting

        public V2modelsIntentArgs.Builder confirmationSetting​(V2modelsIntentConfirmationSettingArgs confirmationSetting)
        Parameters:
        confirmationSetting - Configuration block for 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. If you configure this block without `prompt_specification.*.prompt_attempts_specification`, AWS will provide default configurations for `Initial` and `Retry1` `promptAttemptsSpecification`s. This will cause Terraform to report differences. Use the `confirmationSetting` configuration above in the Basic Usage example to avoid differences resulting from AWS default configuration. See `confirmationSetting`.
        Returns:
        builder
      • description

        public V2modelsIntentArgs.Builder description​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the intent. Use the description to help identify the intent in lists.
        Returns:
        builder
      • description

        public V2modelsIntentArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the intent. Use the description to help identify the intent in lists.
        Returns:
        builder
      • dialogCodeHook

        public V2modelsIntentArgs.Builder dialogCodeHook​(@Nullable
                                                         com.pulumi.core.Output<V2modelsIntentDialogCodeHookArgs> dialogCodeHook)
        Parameters:
        dialogCodeHook - Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See `dialogCodeHook`.
        Returns:
        builder
      • dialogCodeHook

        public V2modelsIntentArgs.Builder dialogCodeHook​(V2modelsIntentDialogCodeHookArgs dialogCodeHook)
        Parameters:
        dialogCodeHook - Configuration block for invoking the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. See `dialogCodeHook`.
        Returns:
        builder
      • fulfillmentCodeHook

        public V2modelsIntentArgs.Builder fulfillmentCodeHook​(@Nullable
                                                              com.pulumi.core.Output<V2modelsIntentFulfillmentCodeHookArgs> fulfillmentCodeHook)
        Parameters:
        fulfillmentCodeHook - Configuration block for invoking 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 `fulfillmentCodeHook`.
        Returns:
        builder
      • fulfillmentCodeHook

        public V2modelsIntentArgs.Builder fulfillmentCodeHook​(V2modelsIntentFulfillmentCodeHookArgs fulfillmentCodeHook)
        Parameters:
        fulfillmentCodeHook - Configuration block for invoking 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 `fulfillmentCodeHook`.
        Returns:
        builder
      • initialResponseSetting

        public V2modelsIntentArgs.Builder initialResponseSetting​(@Nullable
                                                                 com.pulumi.core.Output<V2modelsIntentInitialResponseSettingArgs> initialResponseSetting)
        Parameters:
        initialResponseSetting - Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See `initialResponseSetting`.
        Returns:
        builder
      • initialResponseSetting

        public V2modelsIntentArgs.Builder initialResponseSetting​(V2modelsIntentInitialResponseSettingArgs initialResponseSetting)
        Parameters:
        initialResponseSetting - Configuration block for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. See `initialResponseSetting`.
        Returns:
        builder
      • inputContexts

        public V2modelsIntentArgs.Builder inputContexts​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<V2modelsIntentInputContextArgs>> inputContexts)
        Parameters:
        inputContexts - Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See `inputContext`.
        Returns:
        builder
      • inputContexts

        public V2modelsIntentArgs.Builder inputContexts​(java.util.List<V2modelsIntentInputContextArgs> inputContexts)
        Parameters:
        inputContexts - Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See `inputContext`.
        Returns:
        builder
      • inputContexts

        public V2modelsIntentArgs.Builder inputContexts​(V2modelsIntentInputContextArgs... inputContexts)
        Parameters:
        inputContexts - Configuration blocks for contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the outputContexts property or it can be set at runtime. See `inputContext`.
        Returns:
        builder
      • kendraConfiguration

        public V2modelsIntentArgs.Builder kendraConfiguration​(@Nullable
                                                              com.pulumi.core.Output<V2modelsIntentKendraConfigurationArgs> kendraConfiguration)
        Parameters:
        kendraConfiguration - Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with `qnaIntentConfiguration`. See `kendraConfiguration`.
        Returns:
        builder
      • kendraConfiguration

        public V2modelsIntentArgs.Builder kendraConfiguration​(V2modelsIntentKendraConfigurationArgs kendraConfiguration)
        Parameters:
        kendraConfiguration - Configuration block for information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index. The AMAZON.KendraSearchIntent intent is called when Amazon Lex can't determine another intent to invoke. Cannot be used with `qnaIntentConfiguration`. See `kendraConfiguration`.
        Returns:
        builder
      • localeId

        public V2modelsIntentArgs.Builder localeId​(com.pulumi.core.Output<java.lang.String> localeId)
        Parameters:
        localeId - Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
        Returns:
        builder
      • localeId

        public V2modelsIntentArgs.Builder localeId​(java.lang.String localeId)
        Parameters:
        localeId - Identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale.
        Returns:
        builder
      • name

        public V2modelsIntentArgs.Builder name​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent. The following arguments are optional:
        Returns:
        builder
      • name

        public V2modelsIntentArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent. The following arguments are optional:
        Returns:
        builder
      • outputContexts

        public V2modelsIntentArgs.Builder outputContexts​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<V2modelsIntentOutputContextArgs>> outputContexts)
        Parameters:
        outputContexts - Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See `outputContext`.
        Returns:
        builder
      • outputContexts

        public V2modelsIntentArgs.Builder outputContexts​(java.util.List<V2modelsIntentOutputContextArgs> outputContexts)
        Parameters:
        outputContexts - Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See `outputContext`.
        Returns:
        builder
      • outputContexts

        public V2modelsIntentArgs.Builder outputContexts​(V2modelsIntentOutputContextArgs... outputContexts)
        Parameters:
        outputContexts - Configuration blocks for contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the outputContextsList property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active. See `outputContext`.
        Returns:
        builder
      • parentIntentSignature

        public V2modelsIntentArgs.Builder parentIntentSignature​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> parentIntentSignature)
        Parameters:
        parentIntentSignature - Identifier for the built-in intent to base this intent on.
        Returns:
        builder
      • parentIntentSignature

        public V2modelsIntentArgs.Builder parentIntentSignature​(java.lang.String parentIntentSignature)
        Parameters:
        parentIntentSignature - Identifier for the built-in intent to base this intent on.
        Returns:
        builder
      • qnaIntentConfiguration

        public V2modelsIntentArgs.Builder qnaIntentConfiguration​(@Nullable
                                                                 com.pulumi.core.Output<V2modelsIntentQnaIntentConfigurationArgs> qnaIntentConfiguration)
        Parameters:
        qnaIntentConfiguration - Configuration block for QnA intent settings. This is used when `parentIntentSignature` is set to `AMAZON.QnAIntent`. Cannot be used with `kendraConfiguration`. See `qnaIntentConfiguration`.
        Returns:
        builder
      • qnaIntentConfiguration

        public V2modelsIntentArgs.Builder qnaIntentConfiguration​(V2modelsIntentQnaIntentConfigurationArgs qnaIntentConfiguration)
        Parameters:
        qnaIntentConfiguration - Configuration block for QnA intent settings. This is used when `parentIntentSignature` is set to `AMAZON.QnAIntent`. Cannot be used with `kendraConfiguration`. See `qnaIntentConfiguration`.
        Returns:
        builder
      • region

        public V2modelsIntentArgs.Builder region​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public V2modelsIntentArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • sampleUtterances

        public V2modelsIntentArgs.Builder sampleUtterances​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<V2modelsIntentSampleUtteranceArgs>> sampleUtterances)
        Parameters:
        sampleUtterances - Configuration block for strings that a user might say to signal the intent. See `sampleUtterance`.
        Returns:
        builder
      • slotPriorities

        public V2modelsIntentArgs.Builder slotPriorities​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<V2modelsIntentSlotPriorityArgs>> slotPriorities)
        Parameters:
        slotPriorities - Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See `slotPriority`.
        Returns:
        builder
      • slotPriorities

        public V2modelsIntentArgs.Builder slotPriorities​(java.util.List<V2modelsIntentSlotPriorityArgs> slotPriorities)
        Parameters:
        slotPriorities - Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See `slotPriority`.
        Returns:
        builder
      • slotPriorities

        public V2modelsIntentArgs.Builder slotPriorities​(V2modelsIntentSlotPriorityArgs... slotPriorities)
        Parameters:
        slotPriorities - Configuration block for a new list of slots and their priorities that are contained by the intent. This is ignored on create and only valid for updates. See `slotPriority`.
        Returns:
        builder