Class DialogflowCxPageConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_page.DialogflowCxPageConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxPageConfig>
- Enclosing interface:
- DialogflowCxPageConfig
@Stability(Stable) public static final class DialogflowCxPageConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxPageConfig>
A builder forDialogflowCxPageConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowCxPageConfig.Builder displayName(String displayName)
Sets the value ofDialogflowCxPageConfig.getDisplayName()- Parameters:
displayName- The human-readable name of the page, unique within the agent. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#display_name DialogflowCxPage#display_name}- Returns:
this
-
advancedSettings
@Stability(Stable) public DialogflowCxPageConfig.Builder advancedSettings(DialogflowCxPageAdvancedSettings advancedSettings)
Sets the value ofDialogflowCxPageConfig.getAdvancedSettings()- Parameters:
advancedSettings- advanced_settings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#advanced_settings DialogflowCxPage#advanced_settings}- Returns:
this
-
entryFulfillment
@Stability(Stable) public DialogflowCxPageConfig.Builder entryFulfillment(DialogflowCxPageEntryFulfillment entryFulfillment)
Sets the value ofDialogflowCxPageConfig.getEntryFulfillment()- Parameters:
entryFulfillment- entry_fulfillment block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#entry_fulfillment DialogflowCxPage#entry_fulfillment}- Returns:
this
-
eventHandlers
@Stability(Stable) public DialogflowCxPageConfig.Builder eventHandlers(com.hashicorp.cdktf.IResolvable eventHandlers)
Sets the value ofDialogflowCxPageConfig.getEventHandlers()- Parameters:
eventHandlers- event_handlers block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#event_handlers DialogflowCxPage#event_handlers}- Returns:
this
-
eventHandlers
@Stability(Stable) public DialogflowCxPageConfig.Builder eventHandlers(List<? extends DialogflowCxPageEventHandlers> eventHandlers)
Sets the value ofDialogflowCxPageConfig.getEventHandlers()- Parameters:
eventHandlers- event_handlers block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#event_handlers DialogflowCxPage#event_handlers}- Returns:
this
-
form
@Stability(Stable) public DialogflowCxPageConfig.Builder form(DialogflowCxPageForm form)
Sets the value ofDialogflowCxPageConfig.getForm()- Parameters:
form- form block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#form DialogflowCxPage#form}- Returns:
this
-
id
@Stability(Stable) public DialogflowCxPageConfig.Builder id(String id)
Sets the value ofDialogflowCxPageConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#id DialogflowCxPage#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
-
languageCode
@Stability(Stable) public DialogflowCxPageConfig.Builder languageCode(String languageCode)
Sets the value ofDialogflowCxPageConfig.getLanguageCode()- Parameters:
languageCode- The language of the following fields in page:. Page.entry_fulfillment.messages Page.entry_fulfillment.conditional_cases Page.event_handlers.trigger_fulfillment.messages Page.event_handlers.trigger_fulfillment.conditional_cases Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases Page.form.parameters.fill_behavior.reprompt_event_handlers.messages Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases Page.transition_routes.trigger_fulfillment.messages Page.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_page#language_code DialogflowCxPage#language_code}- Returns:
this
-
parent
@Stability(Stable) public DialogflowCxPageConfig.Builder parent(String parent)
Sets the value ofDialogflowCxPageConfig.getParent()- Parameters:
parent- The flow to create a page for. Format: projects//locations/ /agents/ /flows/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#parent DialogflowCxPage#parent} - Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxPageConfig.Builder timeouts(DialogflowCxPageTimeouts timeouts)
Sets the value ofDialogflowCxPageConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#timeouts DialogflowCxPage#timeouts}- Returns:
this
-
transitionRouteGroups
@Stability(Stable) public DialogflowCxPageConfig.Builder transitionRouteGroups(List<String> transitionRouteGroups)
Sets the value ofDialogflowCxPageConfig.getTransitionRouteGroups()- Parameters:
transitionRouteGroups- Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page. If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes. If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. 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_page#transition_route_groups DialogflowCxPage#transition_route_groups} - Returns:
this
-
transitionRoutes
@Stability(Stable) public DialogflowCxPageConfig.Builder transitionRoutes(com.hashicorp.cdktf.IResolvable transitionRoutes)
Sets the value ofDialogflowCxPageConfig.getTransitionRoutes()- Parameters:
transitionRoutes- transition_routes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#transition_routes DialogflowCxPage#transition_routes}- Returns:
this
-
transitionRoutes
@Stability(Stable) public DialogflowCxPageConfig.Builder transitionRoutes(List<? extends DialogflowCxPageTransitionRoutes> transitionRoutes)
Sets the value ofDialogflowCxPageConfig.getTransitionRoutes()- Parameters:
transitionRoutes- transition_routes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#transition_routes DialogflowCxPage#transition_routes}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxPageConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxPageConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxPageConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxPageConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DialogflowCxPageConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DialogflowCxPageConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DialogflowCxPageConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DialogflowCxPageConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DialogflowCxPageConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxPageConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxPageConfig>- Returns:
- a new instance of
DialogflowCxPageConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-