Class DialogflowCxFlowTransitionRoutes.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_flow.DialogflowCxFlowTransitionRoutes.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxFlowTransitionRoutes>
- Enclosing interface:
- DialogflowCxFlowTransitionRoutes
@Stability(Stable) public static final class DialogflowCxFlowTransitionRoutes.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxFlowTransitionRoutes>
A builder forDialogflowCxFlowTransitionRoutes
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxFlowTransitionRoutesbuild()Builds the configured instance.DialogflowCxFlowTransitionRoutes.Buildercondition(String condition)Sets the value ofDialogflowCxFlowTransitionRoutes.getCondition()DialogflowCxFlowTransitionRoutes.Builderintent(String intent)Sets the value ofDialogflowCxFlowTransitionRoutes.getIntent()DialogflowCxFlowTransitionRoutes.BuildertargetFlow(String targetFlow)Sets the value ofDialogflowCxFlowTransitionRoutes.getTargetFlow()DialogflowCxFlowTransitionRoutes.BuildertargetPage(String targetPage)Sets the value ofDialogflowCxFlowTransitionRoutes.getTargetPage()DialogflowCxFlowTransitionRoutes.BuildertriggerFulfillment(DialogflowCxFlowTransitionRoutesTriggerFulfillment triggerFulfillment)Sets the value ofDialogflowCxFlowTransitionRoutes.getTriggerFulfillment()
-
-
-
Method Detail
-
condition
@Stability(Stable) public DialogflowCxFlowTransitionRoutes.Builder condition(String condition)
Sets the value ofDialogflowCxFlowTransitionRoutes.getCondition()- Parameters:
condition- The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#condition DialogflowCxFlow#condition}- Returns:
this
-
intent
@Stability(Stable) public DialogflowCxFlowTransitionRoutes.Builder intent(String intent)
Sets the value ofDialogflowCxFlowTransitionRoutes.getIntent()- Parameters:
intent- The unique identifier of an Intent. Format: projects//locations/ /agents/ /intents/ . Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#intent DialogflowCxFlow#intent} - Returns:
this
-
targetFlow
@Stability(Stable) public DialogflowCxFlowTransitionRoutes.Builder targetFlow(String targetFlow)
Sets the value ofDialogflowCxFlowTransitionRoutes.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 DialogflowCxFlowTransitionRoutes.Builder targetPage(String targetPage)
Sets the value ofDialogflowCxFlowTransitionRoutes.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 DialogflowCxFlowTransitionRoutes.Builder triggerFulfillment(DialogflowCxFlowTransitionRoutesTriggerFulfillment triggerFulfillment)
Sets the value ofDialogflowCxFlowTransitionRoutes.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 DialogflowCxFlowTransitionRoutes build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxFlowTransitionRoutes>- Returns:
- a new instance of
DialogflowCxFlowTransitionRoutes - Throws:
NullPointerException- if any required attribute was not provided
-
-