Class DialogflowCxWebhook.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static DialogflowCxWebhook.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 DialogflowCxWebhook.Builder.
      • connection

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

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

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

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

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

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

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

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

        @Stability(Stable)
        public DialogflowCxWebhook.Builder displayName​(String displayName)
        The human-readable name of the webhook, unique within the agent.

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

        Parameters:
        displayName - The human-readable name of the webhook, unique within the agent. This parameter is required.
        Returns:
        this
      • disabled

        @Stability(Stable)
        public DialogflowCxWebhook.Builder disabled​(Boolean disabled)
        Indicates whether the webhook is disabled.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#disabled DialogflowCxWebhook#disabled}

        Parameters:
        disabled - Indicates whether the webhook is disabled. This parameter is required.
        Returns:
        this
      • disabled

        @Stability(Stable)
        public DialogflowCxWebhook.Builder disabled​(com.hashicorp.cdktf.IResolvable disabled)
        Indicates whether the webhook is disabled.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#disabled DialogflowCxWebhook#disabled}

        Parameters:
        disabled - Indicates whether the webhook is disabled. This parameter is required.
        Returns:
        this
      • enableSpellCorrection

        @Stability(Stable)
        public DialogflowCxWebhook.Builder enableSpellCorrection​(Boolean enableSpellCorrection)
        Indicates if automatic spell correction is enabled in detect intent requests.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#enable_spell_correction DialogflowCxWebhook#enable_spell_correction}

        Parameters:
        enableSpellCorrection - Indicates if automatic spell correction is enabled in detect intent requests. This parameter is required.
        Returns:
        this
      • enableSpellCorrection

        @Stability(Stable)
        public DialogflowCxWebhook.Builder enableSpellCorrection​(com.hashicorp.cdktf.IResolvable enableSpellCorrection)
        Indicates if automatic spell correction is enabled in detect intent requests.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#enable_spell_correction DialogflowCxWebhook#enable_spell_correction}

        Parameters:
        enableSpellCorrection - Indicates if automatic spell correction is enabled in detect intent requests. This parameter is required.
        Returns:
        this
      • enableStackdriverLogging

        @Stability(Stable)
        public DialogflowCxWebhook.Builder enableStackdriverLogging​(Boolean enableStackdriverLogging)
        Determines whether this agent should log conversation queries.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#enable_stackdriver_logging DialogflowCxWebhook#enable_stackdriver_logging}

        Parameters:
        enableStackdriverLogging - Determines whether this agent should log conversation queries. This parameter is required.
        Returns:
        this
      • enableStackdriverLogging

        @Stability(Stable)
        public DialogflowCxWebhook.Builder enableStackdriverLogging​(com.hashicorp.cdktf.IResolvable enableStackdriverLogging)
        Determines whether this agent should log conversation queries.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#enable_stackdriver_logging DialogflowCxWebhook#enable_stackdriver_logging}

        Parameters:
        enableStackdriverLogging - Determines whether this agent should log conversation queries. This parameter is required.
        Returns:
        this
      • genericWebService

        @Stability(Stable)
        public DialogflowCxWebhook.Builder genericWebService​(DialogflowCxWebhookGenericWebService genericWebService)
        generic_web_service block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#generic_web_service DialogflowCxWebhook#generic_web_service}

        Parameters:
        genericWebService - generic_web_service block. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowCxWebhook.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#id DialogflowCxWebhook#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_cx_webhook#id DialogflowCxWebhook#id}. This parameter is required.
        Returns:
        this
      • parent

        @Stability(Stable)
        public DialogflowCxWebhook.Builder parent​(String parent)
        The agent to create a webhook for. Format: projects//locations//agents/.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#parent DialogflowCxWebhook#parent}

        Parameters:
        parent - The agent to create a webhook for. Format: projects//locations//agents/. This parameter is required.
        Returns:
        this
      • securitySettings

        @Stability(Stable)
        public DialogflowCxWebhook.Builder securitySettings​(String securitySettings)
        Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#security_settings DialogflowCxWebhook#security_settings}

        Parameters:
        securitySettings - Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/. This parameter is required.
        Returns:
        this
      • serviceDirectory

        @Stability(Stable)
        public DialogflowCxWebhook.Builder serviceDirectory​(DialogflowCxWebhookServiceDirectory serviceDirectory)
        service_directory block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#service_directory DialogflowCxWebhook#service_directory}

        Parameters:
        serviceDirectory - service_directory block. This parameter is required.
        Returns:
        this
      • timeout

        @Stability(Stable)
        public DialogflowCxWebhook.Builder timeout​(String timeout)
        Webhook execution timeout.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_webhook#timeout DialogflowCxWebhook#timeout}

        Parameters:
        timeout - Webhook execution timeout. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public DialogflowCxWebhook.Builder timeouts​(DialogflowCxWebhookTimeouts timeouts)
        timeouts block.

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

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