Class V2modelsIntentState.Builder

  • Enclosing class:
    V2modelsIntentState

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

      • botId

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

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

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

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

        public V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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
      • creationDateTime

        public V2modelsIntentState.Builder creationDateTime​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> creationDateTime)
        Parameters:
        creationDateTime - Timestamp of the date and time that the intent was created.
        Returns:
        builder
      • creationDateTime

        public V2modelsIntentState.Builder creationDateTime​(java.lang.String creationDateTime)
        Parameters:
        creationDateTime - Timestamp of the date and time that the intent was created.
        Returns:
        builder
      • description

        public V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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
      • intentId

        public V2modelsIntentState.Builder intentId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> intentId)
        Parameters:
        intentId - Unique identifier for the intent.
        Returns:
        builder
      • intentId

        public V2modelsIntentState.Builder intentId​(java.lang.String intentId)
        Parameters:
        intentId - Unique identifier for the intent.
        Returns:
        builder
      • kendraConfiguration

        public V2modelsIntentState.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 V2modelsIntentState.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
      • lastUpdatedDateTime

        public V2modelsIntentState.Builder lastUpdatedDateTime​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> lastUpdatedDateTime)
        Parameters:
        lastUpdatedDateTime - Timestamp of the last time that the intent was modified.
        Returns:
        builder
      • lastUpdatedDateTime

        public V2modelsIntentState.Builder lastUpdatedDateTime​(java.lang.String lastUpdatedDateTime)
        Parameters:
        lastUpdatedDateTime - Timestamp of the last time that the intent was modified.
        Returns:
        builder
      • localeId

        public V2modelsIntentState.Builder localeId​(@Nullable
                                                    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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.Builder parentIntentSignature​(java.lang.String parentIntentSignature)
        Parameters:
        parentIntentSignature - Identifier for the built-in intent to base this intent on.
        Returns:
        builder
      • qnaIntentConfiguration

        public V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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 V2modelsIntentState.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