Class DialogflowCxTestCaseConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_test_case.DialogflowCxTestCaseConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxTestCaseConfig>
- Enclosing interface:
- DialogflowCxTestCaseConfig
@Stability(Stable) public static final class DialogflowCxTestCaseConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxTestCaseConfig>
A builder forDialogflowCxTestCaseConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder displayName(String displayName)
Sets the value ofDialogflowCxTestCaseConfig.getDisplayName()- Parameters:
displayName- The human-readable name of the test case, unique within the agent. Limit of 200 characters. This parameter is required. 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}- Returns:
this
-
id
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder id(String id)
Sets the value ofDialogflowCxTestCaseConfig.getId()- 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}. 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.- Returns:
this
-
notes
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder notes(String notes)
Sets the value ofDialogflowCxTestCaseConfig.getNotes()- Parameters:
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}- Returns:
this
-
parent
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder parent(String parent)
Sets the value ofDialogflowCxTestCaseConfig.getParent()- Parameters:
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} - Returns:
this
-
tags
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder tags(List<String> tags)
Sets the value ofDialogflowCxTestCaseConfig.getTags()- Parameters:
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}- Returns:
this
-
testCaseConversationTurns
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder testCaseConversationTurns(com.hashicorp.cdktf.IResolvable testCaseConversationTurns)
Sets the value ofDialogflowCxTestCaseConfig.getTestCaseConversationTurns()- Parameters:
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}- Returns:
this
-
testCaseConversationTurns
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder testCaseConversationTurns(List<? extends DialogflowCxTestCaseTestCaseConversationTurns> testCaseConversationTurns)
Sets the value ofDialogflowCxTestCaseConfig.getTestCaseConversationTurns()- Parameters:
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}- Returns:
this
-
testConfig
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder testConfig(DialogflowCxTestCaseTestConfig testConfig)
Sets the value ofDialogflowCxTestCaseConfig.getTestConfig()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxTestCaseConfig.Builder timeouts(DialogflowCxTestCaseTimeouts timeouts)
Sets the value ofDialogflowCxTestCaseConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DialogflowCxTestCaseConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxTestCaseConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxTestCaseConfig>- Returns:
- a new instance of
DialogflowCxTestCaseConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-