Class DialogflowCxPageAdvancedSettingsDtmfSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_page.DialogflowCxPageAdvancedSettingsDtmfSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxPageAdvancedSettingsDtmfSettings>
- Enclosing interface:
- DialogflowCxPageAdvancedSettingsDtmfSettings
@Stability(Stable) public static final class DialogflowCxPageAdvancedSettingsDtmfSettings.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxPageAdvancedSettingsDtmfSettings>
A builder forDialogflowCxPageAdvancedSettingsDtmfSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxPageAdvancedSettingsDtmfSettingsbuild()Builds the configured instance.DialogflowCxPageAdvancedSettingsDtmfSettings.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.getEnabled()DialogflowCxPageAdvancedSettingsDtmfSettings.Builderenabled(Boolean enabled)Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.getEnabled()DialogflowCxPageAdvancedSettingsDtmfSettings.BuilderfinishDigit(String finishDigit)Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.getFinishDigit()DialogflowCxPageAdvancedSettingsDtmfSettings.BuildermaxDigits(Number maxDigits)Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.getMaxDigits()
-
-
-
Method Detail
-
enabled
@Stability(Stable) public DialogflowCxPageAdvancedSettingsDtmfSettings.Builder enabled(Boolean enabled)
Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.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 DialogflowCxPageAdvancedSettingsDtmfSettings.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.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 DialogflowCxPageAdvancedSettingsDtmfSettings.Builder finishDigit(String finishDigit)
Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.getFinishDigit()- 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 DialogflowCxPageAdvancedSettingsDtmfSettings.Builder maxDigits(Number maxDigits)
Sets the value ofDialogflowCxPageAdvancedSettingsDtmfSettings.getMaxDigits()- 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 DialogflowCxPageAdvancedSettingsDtmfSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxPageAdvancedSettingsDtmfSettings>- Returns:
- a new instance of
DialogflowCxPageAdvancedSettingsDtmfSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-