Class DialogflowCxTestCaseTestConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_test_case.DialogflowCxTestCaseTestConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxTestCaseTestConfig>
- Enclosing interface:
- DialogflowCxTestCaseTestConfig
@Stability(Stable) public static final class DialogflowCxTestCaseTestConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxTestCaseTestConfig>
A builder forDialogflowCxTestCaseTestConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxTestCaseTestConfigbuild()Builds the configured instance.DialogflowCxTestCaseTestConfig.Builderflow(String flow)Sets the value ofDialogflowCxTestCaseTestConfig.getFlow()DialogflowCxTestCaseTestConfig.Builderpage(String page)Sets the value ofDialogflowCxTestCaseTestConfig.getPage()DialogflowCxTestCaseTestConfig.BuildertrackingParameters(List<String> trackingParameters)Sets the value ofDialogflowCxTestCaseTestConfig.getTrackingParameters()
-
-
-
Method Detail
-
flow
@Stability(Stable) public DialogflowCxTestCaseTestConfig.Builder flow(String flow)
Sets the value ofDialogflowCxTestCaseTestConfig.getFlow()- Parameters:
flow- Flow name to start the test case with. Format: projects//locations/ /agents/ /flows/ . Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#flow DialogflowCxTestCase#flow} - Returns:
this
-
page
@Stability(Stable) public DialogflowCxTestCaseTestConfig.Builder page(String page)
Sets the value ofDialogflowCxTestCaseTestConfig.getPage()- Parameters:
page- The page to start the test case with. Format: projects//locations/ /agents/ /flows/ /pages/ . Only one of flow and page should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#page DialogflowCxTestCase#page} - Returns:
this
-
trackingParameters
@Stability(Stable) public DialogflowCxTestCaseTestConfig.Builder trackingParameters(List<String> trackingParameters)
Sets the value ofDialogflowCxTestCaseTestConfig.getTrackingParameters()- Parameters:
trackingParameters- Session parameters to be compared when calculating differences. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#tracking_parameters DialogflowCxTestCase#tracking_parameters}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxTestCaseTestConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxTestCaseTestConfig>- Returns:
- a new instance of
DialogflowCxTestCaseTestConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-