Class DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_page.DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings>
- Enclosing interface:
- DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings
@Stability(Stable) public static final class DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxPageFormParametersAdvancedSettingsDtmfSettingsbuild()Builds the configured instance.DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofDialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.getEnabled()DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builderenabled(Boolean enabled)Sets the value ofDialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.getEnabled()DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.BuilderfinishDigit(String finishDigit)DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.BuildermaxDigits(Number maxDigits)
-
-
-
Method Detail
-
enabled
@Stability(Stable) public DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder enabled(Boolean enabled)
Sets the value ofDialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.getEnabled()- Parameters:
enabled- If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#enabled DialogflowCxPage#enabled}- Returns:
this
-
enabled
@Stability(Stable) public DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofDialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.getEnabled()- Parameters:
enabled- If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#enabled DialogflowCxPage#enabled}- Returns:
this
-
finishDigit
@Stability(Stable) public DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder finishDigit(String finishDigit)
- Parameters:
finishDigit- The digit that terminates a DTMF digit sequence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#finish_digit DialogflowCxPage#finish_digit}- Returns:
this
-
maxDigits
@Stability(Stable) public DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings.Builder maxDigits(Number maxDigits)
- Parameters:
maxDigits- Max length of DTMF digits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#max_digits DialogflowCxPage#max_digits}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings>- Returns:
- a new instance of
DialogflowCxPageFormParametersAdvancedSettingsDtmfSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-