Class DialogflowIntentConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        @Stability(Stable)
        public DialogflowIntentConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - The name of this intent to be displayed on the console. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_intent#display_name DialogflowIntent#display_name}
        Returns:
        this
      • action

        @Stability(Stable)
        public DialogflowIntentConfig.Builder action​(String action)
        Parameters:
        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}
        Returns:
        this
      • defaultResponsePlatforms

        @Stability(Stable)
        public DialogflowIntentConfig.Builder defaultResponsePlatforms​(List<String> defaultResponsePlatforms)
        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"]. 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}
        Returns:
        this
      • events

        @Stability(Stable)
        public DialogflowIntentConfig.Builder events​(List<String> events)
        Parameters:
        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}
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowIntentConfig.Builder id​(String id)
        Parameters:
        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.
        Returns:
        this
      • inputContextNames

        @Stability(Stable)
        public DialogflowIntentConfig.Builder inputContextNames​(List<String> inputContextNames)
        Parameters:
        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}
        Returns:
        this
      • isFallback

        @Stability(Stable)
        public DialogflowIntentConfig.Builder isFallback​(Boolean isFallback)
        Parameters:
        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}
        Returns:
        this
      • isFallback

        @Stability(Stable)
        public DialogflowIntentConfig.Builder isFallback​(com.hashicorp.cdktf.IResolvable isFallback)
        Parameters:
        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}
        Returns:
        this
      • mlDisabled

        @Stability(Stable)
        public DialogflowIntentConfig.Builder mlDisabled​(Boolean mlDisabled)
        Parameters:
        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}
        Returns:
        this
      • mlDisabled

        @Stability(Stable)
        public DialogflowIntentConfig.Builder mlDisabled​(com.hashicorp.cdktf.IResolvable mlDisabled)
        Parameters:
        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}
        Returns:
        this
      • parentFollowupIntentName

        @Stability(Stable)
        public DialogflowIntentConfig.Builder parentFollowupIntentName​(String parentFollowupIntentName)
        Parameters:
        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}
        Returns:
        this
      • priority

        @Stability(Stable)
        public DialogflowIntentConfig.Builder priority​(Number priority)
        Parameters:
        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}
        Returns:
        this
      • resetContexts

        @Stability(Stable)
        public DialogflowIntentConfig.Builder resetContexts​(Boolean resetContexts)
        Parameters:
        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}
        Returns:
        this
      • resetContexts

        @Stability(Stable)
        public DialogflowIntentConfig.Builder resetContexts​(com.hashicorp.cdktf.IResolvable resetContexts)
        Parameters:
        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}
        Returns:
        this
      • webhookState

        @Stability(Stable)
        public DialogflowIntentConfig.Builder webhookState​(String webhookState)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DialogflowIntentConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this