Class DialogflowCxFlowEventHandlers.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_flow.DialogflowCxFlowEventHandlers.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxFlowEventHandlers>
- Enclosing interface:
- DialogflowCxFlowEventHandlers
@Stability(Stable) public static final class DialogflowCxFlowEventHandlers.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxFlowEventHandlers>
A builder forDialogflowCxFlowEventHandlers
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxFlowEventHandlersbuild()Builds the configured instance.DialogflowCxFlowEventHandlers.Builderevent(String event)Sets the value ofDialogflowCxFlowEventHandlers.getEvent()DialogflowCxFlowEventHandlers.BuildertargetFlow(String targetFlow)Sets the value ofDialogflowCxFlowEventHandlers.getTargetFlow()DialogflowCxFlowEventHandlers.BuildertargetPage(String targetPage)Sets the value ofDialogflowCxFlowEventHandlers.getTargetPage()DialogflowCxFlowEventHandlers.BuildertriggerFulfillment(DialogflowCxFlowEventHandlersTriggerFulfillment triggerFulfillment)Sets the value ofDialogflowCxFlowEventHandlers.getTriggerFulfillment()
-
-
-
Method Detail
-
event
@Stability(Stable) public DialogflowCxFlowEventHandlers.Builder event(String event)
Sets the value ofDialogflowCxFlowEventHandlers.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_flow#event DialogflowCxFlow#event}- Returns:
this
-
targetFlow
@Stability(Stable) public DialogflowCxFlowEventHandlers.Builder targetFlow(String targetFlow)
Sets the value ofDialogflowCxFlowEventHandlers.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_flow#target_flow DialogflowCxFlow#target_flow} - Returns:
this
-
targetPage
@Stability(Stable) public DialogflowCxFlowEventHandlers.Builder targetPage(String targetPage)
Sets the value ofDialogflowCxFlowEventHandlers.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_flow#target_page DialogflowCxFlow#target_page} - Returns:
this
-
triggerFulfillment
@Stability(Stable) public DialogflowCxFlowEventHandlers.Builder triggerFulfillment(DialogflowCxFlowEventHandlersTriggerFulfillment triggerFulfillment)
Sets the value ofDialogflowCxFlowEventHandlers.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_flow#trigger_fulfillment DialogflowCxFlow#trigger_fulfillment}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxFlowEventHandlers build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxFlowEventHandlers>- Returns:
- a new instance of
DialogflowCxFlowEventHandlers - Throws:
NullPointerException- if any required attribute was not provided
-
-