Class DialogflowCxTestCase.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_test_case.DialogflowCxTestCase.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxTestCase>
- Enclosing class:
- DialogflowCxTestCase
@Stability(Stable) public static final class DialogflowCxTestCase.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxTestCase>
A fluent builder forDialogflowCxTestCase.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxTestCasebuild()DialogflowCxTestCase.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DialogflowCxTestCase.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DialogflowCxTestCase.Buildercount(com.hashicorp.cdktf.TerraformCount count)DialogflowCxTestCase.Buildercount(Number count)static DialogflowCxTestCase.Buildercreate(software.constructs.Construct scope, String id)DialogflowCxTestCase.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DialogflowCxTestCase.BuilderdisplayName(String displayName)The human-readable name of the test case, unique within the agent.DialogflowCxTestCase.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DialogflowCxTestCase.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#id DialogflowCxTestCase#id}.DialogflowCxTestCase.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DialogflowCxTestCase.Buildernotes(String notes)Additional freeform notes about the test case.DialogflowCxTestCase.Builderparent(String parent)The agent to create the test case for.DialogflowCxTestCase.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DialogflowCxTestCase.Builderprovisioners(List<? extends Object> provisioners)DialogflowCxTestCase.Buildertags(List<String> tags)Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.DialogflowCxTestCase.BuildertestCaseConversationTurns(com.hashicorp.cdktf.IResolvable testCaseConversationTurns)test_case_conversation_turns block.DialogflowCxTestCase.BuildertestCaseConversationTurns(List<? extends DialogflowCxTestCaseTestCaseConversationTurns> testCaseConversationTurns)test_case_conversation_turns block.DialogflowCxTestCase.BuildertestConfig(DialogflowCxTestCaseTestConfig testConfig)test_config block.DialogflowCxTestCase.Buildertimeouts(DialogflowCxTestCaseTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DialogflowCxTestCase.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
DialogflowCxTestCase.Builder.
-
connection
@Stability(Experimental) public DialogflowCxTestCase.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxTestCase.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxTestCase.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxTestCase.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DialogflowCxTestCase.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DialogflowCxTestCase.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DialogflowCxTestCase.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DialogflowCxTestCase.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DialogflowCxTestCase.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
displayName
@Stability(Stable) public DialogflowCxTestCase.Builder displayName(String displayName)
The human-readable name of the test case, unique within the agent. Limit of 200 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#display_name DialogflowCxTestCase#display_name}
- Parameters:
displayName- The human-readable name of the test case, unique within the agent. Limit of 200 characters. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DialogflowCxTestCase.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#id DialogflowCxTestCase#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#id DialogflowCxTestCase#id}. This parameter is required.- Returns:
this
-
notes
@Stability(Stable) public DialogflowCxTestCase.Builder notes(String notes)
Additional freeform notes about the test case. Limit of 400 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#notes DialogflowCxTestCase#notes}
- Parameters:
notes- Additional freeform notes about the test case. Limit of 400 characters. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public DialogflowCxTestCase.Builder parent(String parent)
The agent to create the test case for. Format: projects//locations/ /agents/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#parent DialogflowCxTestCase#parent}
- Parameters:
parent- The agent to create the test case for. Format: projects//locations/ /agents/ . This parameter is required. - Returns:
this
-
tags
@Stability(Stable) public DialogflowCxTestCase.Builder tags(List<String> tags)
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.Each tag should start with "#" and has a limit of 30 characters Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#tags DialogflowCxTestCase#tags}
- Parameters:
tags- Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. This parameter is required.- Returns:
this
-
testCaseConversationTurns
@Stability(Stable) public DialogflowCxTestCase.Builder testCaseConversationTurns(com.hashicorp.cdktf.IResolvable testCaseConversationTurns)
test_case_conversation_turns block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#test_case_conversation_turns DialogflowCxTestCase#test_case_conversation_turns}
- Parameters:
testCaseConversationTurns- test_case_conversation_turns block. This parameter is required.- Returns:
this
-
testCaseConversationTurns
@Stability(Stable) public DialogflowCxTestCase.Builder testCaseConversationTurns(List<? extends DialogflowCxTestCaseTestCaseConversationTurns> testCaseConversationTurns)
test_case_conversation_turns block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#test_case_conversation_turns DialogflowCxTestCase#test_case_conversation_turns}
- Parameters:
testCaseConversationTurns- test_case_conversation_turns block. This parameter is required.- Returns:
this
-
testConfig
@Stability(Stable) public DialogflowCxTestCase.Builder testConfig(DialogflowCxTestCaseTestConfig testConfig)
test_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#test_config DialogflowCxTestCase#test_config}
- Parameters:
testConfig- test_config block. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxTestCase.Builder timeouts(DialogflowCxTestCaseTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#timeouts DialogflowCxTestCase#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxTestCase build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxTestCase>- Returns:
- a newly built instance of
DialogflowCxTestCase.
-
-