Class DialogflowCxFlowEventHandlersTriggerFulfillment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_flow.DialogflowCxFlowEventHandlersTriggerFulfillment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxFlowEventHandlersTriggerFulfillment>
- Enclosing interface:
- DialogflowCxFlowEventHandlersTriggerFulfillment
@Stability(Stable) public static final class DialogflowCxFlowEventHandlersTriggerFulfillment.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxFlowEventHandlersTriggerFulfillment>
A builder forDialogflowCxFlowEventHandlersTriggerFulfillment
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
conditionalCases
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder conditionalCases(com.hashicorp.cdktf.IResolvable conditionalCases)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getConditionalCases()- Parameters:
conditionalCases- conditional_cases block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#conditional_cases DialogflowCxFlow#conditional_cases}- Returns:
this
-
conditionalCases
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder conditionalCases(List<? extends DialogflowCxFlowEventHandlersTriggerFulfillmentConditionalCases> conditionalCases)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getConditionalCases()- Parameters:
conditionalCases- conditional_cases block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#conditional_cases DialogflowCxFlow#conditional_cases}- Returns:
this
-
messages
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder messages(com.hashicorp.cdktf.IResolvable messages)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getMessages()- Parameters:
messages- messages block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#messages DialogflowCxFlow#messages}- Returns:
this
-
messages
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder messages(List<? extends DialogflowCxFlowEventHandlersTriggerFulfillmentMessages> messages)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getMessages()- Parameters:
messages- messages block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#messages DialogflowCxFlow#messages}- Returns:
this
-
returnPartialResponses
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder returnPartialResponses(Boolean returnPartialResponses)
- Parameters:
returnPartialResponses- Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#return_partial_responses DialogflowCxFlow#return_partial_responses}- Returns:
this
-
returnPartialResponses
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder returnPartialResponses(com.hashicorp.cdktf.IResolvable returnPartialResponses)
- Parameters:
returnPartialResponses- Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#return_partial_responses DialogflowCxFlow#return_partial_responses}- Returns:
this
-
setParameterActions
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder setParameterActions(com.hashicorp.cdktf.IResolvable setParameterActions)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getSetParameterActions()- Parameters:
setParameterActions- set_parameter_actions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#set_parameter_actions DialogflowCxFlow#set_parameter_actions}- Returns:
this
-
setParameterActions
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder setParameterActions(List<? extends DialogflowCxFlowEventHandlersTriggerFulfillmentSetParameterActions> setParameterActions)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getSetParameterActions()- Parameters:
setParameterActions- set_parameter_actions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#set_parameter_actions DialogflowCxFlow#set_parameter_actions}- Returns:
this
-
tag
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder tag(String tag)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getTag()- Parameters:
tag- The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#tag DialogflowCxFlow#tag}- Returns:
this
-
webhook
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment.Builder webhook(String webhook)
Sets the value ofDialogflowCxFlowEventHandlersTriggerFulfillment.getWebhook()- Parameters:
webhook- The webhook to call. Format: projects//locations/ /agents/ /webhooks/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#webhook DialogflowCxFlow#webhook} - Returns:
this
-
build
@Stability(Stable) public DialogflowCxFlowEventHandlersTriggerFulfillment build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxFlowEventHandlersTriggerFulfillment>- Returns:
- a new instance of
DialogflowCxFlowEventHandlersTriggerFulfillment - Throws:
NullPointerException- if any required attribute was not provided
-
-