Class DialogflowCxFlow.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_flow.DialogflowCxFlow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxFlow>
- Enclosing class:
- DialogflowCxFlow
@Stability(Stable) public static final class DialogflowCxFlow.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxFlow>
A fluent builder forDialogflowCxFlow.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxFlow.BuilderadvancedSettings(DialogflowCxFlowAdvancedSettings advancedSettings)advanced_settings block.DialogflowCxFlowbuild()DialogflowCxFlow.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DialogflowCxFlow.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DialogflowCxFlow.Buildercount(com.hashicorp.cdktf.TerraformCount count)DialogflowCxFlow.Buildercount(Number count)static DialogflowCxFlow.Buildercreate(software.constructs.Construct scope, String id)DialogflowCxFlow.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DialogflowCxFlow.Builderdescription(String description)The description of the flow.DialogflowCxFlow.BuilderdisplayName(String displayName)The human-readable name of the flow.DialogflowCxFlow.BuildereventHandlers(com.hashicorp.cdktf.IResolvable eventHandlers)event_handlers block.DialogflowCxFlow.BuildereventHandlers(List<? extends DialogflowCxFlowEventHandlers> eventHandlers)event_handlers block.DialogflowCxFlow.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DialogflowCxFlow.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#id DialogflowCxFlow#id}.DialogflowCxFlow.BuilderisDefaultStartFlow(com.hashicorp.cdktf.IResolvable isDefaultStartFlow)Marks this as the Default Start Flow for an agent.DialogflowCxFlow.BuilderisDefaultStartFlow(Boolean isDefaultStartFlow)Marks this as the Default Start Flow for an agent.DialogflowCxFlow.BuilderlanguageCode(String languageCode)The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used.DialogflowCxFlow.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DialogflowCxFlow.BuildernluSettings(DialogflowCxFlowNluSettings nluSettings)nlu_settings block.DialogflowCxFlow.Builderparent(String parent)The agent to create a flow for.DialogflowCxFlow.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DialogflowCxFlow.Builderprovisioners(List<? extends Object> provisioners)DialogflowCxFlow.Buildertimeouts(DialogflowCxFlowTimeouts timeouts)timeouts block.DialogflowCxFlow.BuildertransitionRouteGroups(List<String> transitionRouteGroups)A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow.DialogflowCxFlow.BuildertransitionRoutes(com.hashicorp.cdktf.IResolvable transitionRoutes)transition_routes block.DialogflowCxFlow.BuildertransitionRoutes(List<? extends DialogflowCxFlowTransitionRoutes> transitionRoutes)transition_routes block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DialogflowCxFlow.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
DialogflowCxFlow.Builder.
-
connection
@Stability(Experimental) public DialogflowCxFlow.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxFlow.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxFlow.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxFlow.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DialogflowCxFlow.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DialogflowCxFlow.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DialogflowCxFlow.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DialogflowCxFlow.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DialogflowCxFlow.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
displayName
@Stability(Stable) public DialogflowCxFlow.Builder displayName(String displayName)
The human-readable name of the flow.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#display_name DialogflowCxFlow#display_name}
- Parameters:
displayName- The human-readable name of the flow. This parameter is required.- Returns:
this
-
advancedSettings
@Stability(Stable) public DialogflowCxFlow.Builder advancedSettings(DialogflowCxFlowAdvancedSettings advancedSettings)
advanced_settings block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#advanced_settings DialogflowCxFlow#advanced_settings}
- Parameters:
advancedSettings- advanced_settings block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public DialogflowCxFlow.Builder description(String description)
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#description DialogflowCxFlow#description}
- Parameters:
description- The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. This parameter is required.- Returns:
this
-
eventHandlers
@Stability(Stable) public DialogflowCxFlow.Builder eventHandlers(com.hashicorp.cdktf.IResolvable eventHandlers)
event_handlers block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#event_handlers DialogflowCxFlow#event_handlers}
- Parameters:
eventHandlers- event_handlers block. This parameter is required.- Returns:
this
-
eventHandlers
@Stability(Stable) public DialogflowCxFlow.Builder eventHandlers(List<? extends DialogflowCxFlowEventHandlers> eventHandlers)
event_handlers block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#event_handlers DialogflowCxFlow#event_handlers}
- Parameters:
eventHandlers- event_handlers block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DialogflowCxFlow.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#id DialogflowCxFlow#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_flow#id DialogflowCxFlow#id}. This parameter is required.- Returns:
this
-
isDefaultStartFlow
@Stability(Stable) public DialogflowCxFlow.Builder isDefaultStartFlow(Boolean isDefaultStartFlow)
Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources.~> Avoid having multiple 'google_dialogflow_cx_flow' resources linked to the same agent with 'is_default_start_flow = true' because they will compete to control a single Default Start Flow resource in GCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#is_default_start_flow DialogflowCxFlow#is_default_start_flow}
- Parameters:
isDefaultStartFlow- Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources. This parameter is required.- Returns:
this
-
isDefaultStartFlow
@Stability(Stable) public DialogflowCxFlow.Builder isDefaultStartFlow(com.hashicorp.cdktf.IResolvable isDefaultStartFlow)
Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources.~> Avoid having multiple 'google_dialogflow_cx_flow' resources linked to the same agent with 'is_default_start_flow = true' because they will compete to control a single Default Start Flow resource in GCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#is_default_start_flow DialogflowCxFlow#is_default_start_flow}
- Parameters:
isDefaultStartFlow- Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources. This parameter is required.- Returns:
this
-
languageCode
@Stability(Stable) public DialogflowCxFlow.Builder languageCode(String languageCode)
The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#language_code DialogflowCxFlow#language_code}
- Parameters:
languageCode- The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used. This parameter is required.- Returns:
this
-
nluSettings
@Stability(Stable) public DialogflowCxFlow.Builder nluSettings(DialogflowCxFlowNluSettings nluSettings)
nlu_settings block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#nlu_settings DialogflowCxFlow#nlu_settings}
- Parameters:
nluSettings- nlu_settings block. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public DialogflowCxFlow.Builder parent(String parent)
The agent to create a flow for. Format: projects//locations/ /agents/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#parent DialogflowCxFlow#parent}
- Parameters:
parent- The agent to create a flow for. Format: projects//locations/ /agents/ . This parameter is required. - Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxFlow.Builder timeouts(DialogflowCxFlowTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#timeouts DialogflowCxFlow#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
transitionRouteGroups
@Stability(Stable) public DialogflowCxFlow.Builder transitionRouteGroups(List<String> transitionRouteGroups)
A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow.They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects/
/locations/ /agents/ /flows/ /transitionRouteGroups/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#transition_route_groups DialogflowCxFlow#transition_route_groups} - Parameters:
transitionRouteGroups- A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. This parameter is required.- Returns:
this
-
transitionRoutes
@Stability(Stable) public DialogflowCxFlow.Builder transitionRoutes(com.hashicorp.cdktf.IResolvable transitionRoutes)
transition_routes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#transition_routes DialogflowCxFlow#transition_routes}
- Parameters:
transitionRoutes- transition_routes block. This parameter is required.- Returns:
this
-
transitionRoutes
@Stability(Stable) public DialogflowCxFlow.Builder transitionRoutes(List<? extends DialogflowCxFlowTransitionRoutes> transitionRoutes)
transition_routes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#transition_routes DialogflowCxFlow#transition_routes}
- Parameters:
transitionRoutes- transition_routes block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxFlow build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxFlow>- Returns:
- a newly built instance of
DialogflowCxFlow.
-
-