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