Class DialogflowIntent.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static DialogflowIntent.Builder create​(software.constructs.Construct scope,
                                                      String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of DialogflowIntent.Builder.
      • connection

        @Stability(Experimental)
        public DialogflowIntent.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowIntent.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowIntent.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowIntent.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DialogflowIntent.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DialogflowIntent.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DialogflowIntent.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DialogflowIntent.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DialogflowIntent.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • displayName

        @Stability(Stable)
        public DialogflowIntent.Builder displayName​(String displayName)
        The name of this intent to be displayed on the console.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#display_name DialogflowIntent#display_name}

        Parameters:
        displayName - The name of this intent to be displayed on the console. This parameter is required.
        Returns:
        this
      • action

        @Stability(Stable)
        public DialogflowIntent.Builder action​(String action)
        The name of the action associated with the intent. Note: The action name must not contain whitespaces.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#action DialogflowIntent#action}

        Parameters:
        action - The name of the action associated with the intent. Note: The action name must not contain whitespaces. This parameter is required.
        Returns:
        this
      • defaultResponsePlatforms

        @Stability(Stable)
        public DialogflowIntent.Builder defaultResponsePlatforms​(List<String> defaultResponsePlatforms)
        The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). Possible values: ["FACEBOOK", "SLACK", "TELEGRAM", "KIK", "SKYPE", "LINE", "VIBER", "ACTIONS_ON_GOOGLE", "GOOGLE_HANGOUTS"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#default_response_platforms DialogflowIntent#default_response_platforms}

        Parameters:
        defaultResponsePlatforms - The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). Possible values: ["FACEBOOK", "SLACK", "TELEGRAM", "KIK", "SKYPE", "LINE", "VIBER", "ACTIONS_ON_GOOGLE", "GOOGLE_HANGOUTS"]. This parameter is required.
        Returns:
        this
      • events

        @Stability(Stable)
        public DialogflowIntent.Builder events​(List<String> events)
        The collection of event names that trigger the intent.

        If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. See the [events reference](https://cloud.google.com/dialogflow/docs/events-overview) for more details. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#events DialogflowIntent#events}

        Parameters:
        events - The collection of event names that trigger the intent. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowIntent.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#id DialogflowIntent#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#id DialogflowIntent#id}. This parameter is required.
        Returns:
        this
      • inputContextNames

        @Stability(Stable)
        public DialogflowIntent.Builder inputContextNames​(List<String> inputContextNames)
        The list of context names required for this intent to be triggered. Format: projects//agent/sessions/-/contexts/.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#input_context_names DialogflowIntent#input_context_names}

        Parameters:
        inputContextNames - The list of context names required for this intent to be triggered. Format: projects//agent/sessions/-/contexts/. This parameter is required.
        Returns:
        this
      • isFallback

        @Stability(Stable)
        public DialogflowIntent.Builder isFallback​(Boolean isFallback)
        Indicates whether this is a fallback intent.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#is_fallback DialogflowIntent#is_fallback}

        Parameters:
        isFallback - Indicates whether this is a fallback intent. This parameter is required.
        Returns:
        this
      • isFallback

        @Stability(Stable)
        public DialogflowIntent.Builder isFallback​(com.hashicorp.cdktf.IResolvable isFallback)
        Indicates whether this is a fallback intent.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#is_fallback DialogflowIntent#is_fallback}

        Parameters:
        isFallback - Indicates whether this is a fallback intent. This parameter is required.
        Returns:
        this
      • mlDisabled

        @Stability(Stable)
        public DialogflowIntent.Builder mlDisabled​(Boolean mlDisabled)
        Indicates whether Machine Learning is disabled for the intent.

        Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML ONLY match mode. Also, auto-markup in the UI is turned off. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#ml_disabled DialogflowIntent#ml_disabled}

        Parameters:
        mlDisabled - Indicates whether Machine Learning is disabled for the intent. This parameter is required.
        Returns:
        this
      • mlDisabled

        @Stability(Stable)
        public DialogflowIntent.Builder mlDisabled​(com.hashicorp.cdktf.IResolvable mlDisabled)
        Indicates whether Machine Learning is disabled for the intent.

        Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML ONLY match mode. Also, auto-markup in the UI is turned off. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#ml_disabled DialogflowIntent#ml_disabled}

        Parameters:
        mlDisabled - Indicates whether Machine Learning is disabled for the intent. This parameter is required.
        Returns:
        this
      • parentFollowupIntentName

        @Stability(Stable)
        public DialogflowIntent.Builder parentFollowupIntentName​(String parentFollowupIntentName)
        The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#parent_followup_intent_name DialogflowIntent#parent_followup_intent_name}

        Parameters:
        parentFollowupIntentName - The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/. This parameter is required.
        Returns:
        this
      • priority

        @Stability(Stable)
        public DialogflowIntent.Builder priority​(Number priority)
        The priority of this intent.

        Higher numbers represent higher priorities. * If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the Normal priority in the console. * If the supplied value is negative, the intent is ignored in runtime detect intent requests. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#priority DialogflowIntent#priority}

        Parameters:
        priority - The priority of this intent. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public DialogflowIntent.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#project DialogflowIntent#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#project DialogflowIntent#project}. This parameter is required.
        Returns:
        this
      • resetContexts

        @Stability(Stable)
        public DialogflowIntent.Builder resetContexts​(Boolean resetContexts)
        Indicates whether to delete all contexts in the current session when this intent is matched.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#reset_contexts DialogflowIntent#reset_contexts}

        Parameters:
        resetContexts - Indicates whether to delete all contexts in the current session when this intent is matched. This parameter is required.
        Returns:
        this
      • resetContexts

        @Stability(Stable)
        public DialogflowIntent.Builder resetContexts​(com.hashicorp.cdktf.IResolvable resetContexts)
        Indicates whether to delete all contexts in the current session when this intent is matched.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#reset_contexts DialogflowIntent#reset_contexts}

        Parameters:
        resetContexts - Indicates whether to delete all contexts in the current session when this intent is matched. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public DialogflowIntent.Builder timeouts​(DialogflowIntentTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#timeouts DialogflowIntent#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this
      • webhookState

        @Stability(Stable)
        public DialogflowIntent.Builder webhookState​(String webhookState)
        Indicates whether webhooks are enabled for the intent.

        * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook. Possible values: ["WEBHOOK_STATE_ENABLED", "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#webhook_state DialogflowIntent#webhook_state}

        Parameters:
        webhookState - Indicates whether webhooks are enabled for the intent. This parameter is required.
        Returns:
        this