Class DialogflowCxWebhook.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_webhook.DialogflowCxWebhook.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxWebhook>
- Enclosing class:
- DialogflowCxWebhook
@Stability(Stable) public static final class DialogflowCxWebhook.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxWebhook>
A fluent builder forDialogflowCxWebhook.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxWebhookbuild()DialogflowCxWebhook.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DialogflowCxWebhook.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DialogflowCxWebhook.Buildercount(com.hashicorp.cdktf.TerraformCount count)DialogflowCxWebhook.Buildercount(Number count)static DialogflowCxWebhook.Buildercreate(software.constructs.Construct scope, String id)DialogflowCxWebhook.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DialogflowCxWebhook.Builderdisabled(com.hashicorp.cdktf.IResolvable disabled)Indicates whether the webhook is disabled.DialogflowCxWebhook.Builderdisabled(Boolean disabled)Indicates whether the webhook is disabled.DialogflowCxWebhook.BuilderdisplayName(String displayName)The human-readable name of the webhook, unique within the agent.DialogflowCxWebhook.BuilderenableSpellCorrection(com.hashicorp.cdktf.IResolvable enableSpellCorrection)Indicates if automatic spell correction is enabled in detect intent requests.DialogflowCxWebhook.BuilderenableSpellCorrection(Boolean enableSpellCorrection)Indicates if automatic spell correction is enabled in detect intent requests.DialogflowCxWebhook.BuilderenableStackdriverLogging(com.hashicorp.cdktf.IResolvable enableStackdriverLogging)Determines whether this agent should log conversation queries.DialogflowCxWebhook.BuilderenableStackdriverLogging(Boolean enableStackdriverLogging)Determines whether this agent should log conversation queries.DialogflowCxWebhook.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DialogflowCxWebhook.BuildergenericWebService(DialogflowCxWebhookGenericWebService genericWebService)generic_web_service block.DialogflowCxWebhook.Builderid(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}.DialogflowCxWebhook.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DialogflowCxWebhook.Builderparent(String parent)The agent to create a webhook for.DialogflowCxWebhook.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DialogflowCxWebhook.Builderprovisioners(List<? extends Object> provisioners)DialogflowCxWebhook.BuildersecuritySettings(String securitySettings)Name of the SecuritySettings reference for the agent.DialogflowCxWebhook.BuilderserviceDirectory(DialogflowCxWebhookServiceDirectory serviceDirectory)service_directory block.DialogflowCxWebhook.Buildertimeout(String timeout)Webhook execution timeout.DialogflowCxWebhook.Buildertimeouts(DialogflowCxWebhookTimeouts timeouts)timeouts block.
-
-
-
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(Number count)
- Parameters:
count- 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
-
build
@Stability(Stable) public DialogflowCxWebhook build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxWebhook>- Returns:
- a newly built instance of
DialogflowCxWebhook.
-
-