Class DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_test_case.DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxTestCaseTestCaseConversationTurnsUserInput>
- Enclosing interface:
- DialogflowCxTestCaseTestCaseConversationTurnsUserInput
@Stability(Stable) public static final class DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxTestCaseTestCaseConversationTurnsUserInput>
A builder forDialogflowCxTestCaseTestCaseConversationTurnsUserInput
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enableSentimentAnalysis
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder enableSentimentAnalysis(Boolean enableSentimentAnalysis)
Sets the value ofDialogflowCxTestCaseTestCaseConversationTurnsUserInput.getEnableSentimentAnalysis()- Parameters:
enableSentimentAnalysis- Whether sentiment analysis is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#enable_sentiment_analysis DialogflowCxTestCase#enable_sentiment_analysis}- Returns:
this
-
enableSentimentAnalysis
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder enableSentimentAnalysis(com.hashicorp.cdktf.IResolvable enableSentimentAnalysis)
Sets the value ofDialogflowCxTestCaseTestCaseConversationTurnsUserInput.getEnableSentimentAnalysis()- Parameters:
enableSentimentAnalysis- Whether sentiment analysis is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#enable_sentiment_analysis DialogflowCxTestCase#enable_sentiment_analysis}- Returns:
this
-
injectedParameters
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder injectedParameters(String injectedParameters)
- Parameters:
injectedParameters- Parameters that need to be injected into the conversation during intent detection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#injected_parameters DialogflowCxTestCase#injected_parameters}- Returns:
this
-
input
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder input(DialogflowCxTestCaseTestCaseConversationTurnsUserInputInput input)
Sets the value ofDialogflowCxTestCaseTestCaseConversationTurnsUserInput.getInput()- Parameters:
input- input block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#input DialogflowCxTestCase#input}- Returns:
this
-
isWebhookEnabled
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder isWebhookEnabled(Boolean isWebhookEnabled)
- Parameters:
isWebhookEnabled- If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#is_webhook_enabled DialogflowCxTestCase#is_webhook_enabled}- Returns:
this
-
isWebhookEnabled
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput.Builder isWebhookEnabled(com.hashicorp.cdktf.IResolvable isWebhookEnabled)
- Parameters:
isWebhookEnabled- If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_test_case#is_webhook_enabled DialogflowCxTestCase#is_webhook_enabled}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxTestCaseTestCaseConversationTurnsUserInput build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxTestCaseTestCaseConversationTurnsUserInput>- Returns:
- a new instance of
DialogflowCxTestCaseTestCaseConversationTurnsUserInput - Throws:
NullPointerException- if any required attribute was not provided
-
-