Class DialogflowCxPageEventHandlers.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_page.DialogflowCxPageEventHandlers.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxPageEventHandlers>
- Enclosing interface:
- DialogflowCxPageEventHandlers
@Stability(Stable) public static final class DialogflowCxPageEventHandlers.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxPageEventHandlers>
A builder forDialogflowCxPageEventHandlers
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxPageEventHandlersbuild()Builds the configured instance.DialogflowCxPageEventHandlers.Builderevent(String event)Sets the value ofDialogflowCxPageEventHandlers.getEvent()DialogflowCxPageEventHandlers.BuildertargetFlow(String targetFlow)Sets the value ofDialogflowCxPageEventHandlers.getTargetFlow()DialogflowCxPageEventHandlers.BuildertargetPage(String targetPage)Sets the value ofDialogflowCxPageEventHandlers.getTargetPage()DialogflowCxPageEventHandlers.BuildertriggerFulfillment(DialogflowCxPageEventHandlersTriggerFulfillment triggerFulfillment)Sets the value ofDialogflowCxPageEventHandlers.getTriggerFulfillment()
-
-
-
Method Detail
-
event
@Stability(Stable) public DialogflowCxPageEventHandlers.Builder event(String event)
Sets the value ofDialogflowCxPageEventHandlers.getEvent()- Parameters:
event- The name of the event to handle. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#event DialogflowCxPage#event}- Returns:
this
-
targetFlow
@Stability(Stable) public DialogflowCxPageEventHandlers.Builder targetFlow(String targetFlow)
Sets the value ofDialogflowCxPageEventHandlers.getTargetFlow()- Parameters:
targetFlow- The target flow to transition to. 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#target_flow DialogflowCxPage#target_flow} - Returns:
this
-
targetPage
@Stability(Stable) public DialogflowCxPageEventHandlers.Builder targetPage(String targetPage)
Sets the value ofDialogflowCxPageEventHandlers.getTargetPage()- Parameters:
targetPage- The target page to transition to. Format: projects//locations/ /agents/ /flows/ /pages/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#target_page DialogflowCxPage#target_page} - Returns:
this
-
triggerFulfillment
@Stability(Stable) public DialogflowCxPageEventHandlers.Builder triggerFulfillment(DialogflowCxPageEventHandlersTriggerFulfillment triggerFulfillment)
Sets the value ofDialogflowCxPageEventHandlers.getTriggerFulfillment()- Parameters:
triggerFulfillment- trigger_fulfillment block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#trigger_fulfillment DialogflowCxPage#trigger_fulfillment}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxPageEventHandlers build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxPageEventHandlers>- Returns:
- a new instance of
DialogflowCxPageEventHandlers - Throws:
NullPointerException- if any required attribute was not provided
-
-