Class DialogflowCxAgentTextToSpeechSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_agent.DialogflowCxAgentTextToSpeechSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxAgentTextToSpeechSettings>
- Enclosing interface:
- DialogflowCxAgentTextToSpeechSettings
@Stability(Stable) public static final class DialogflowCxAgentTextToSpeechSettings.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxAgentTextToSpeechSettings>
A builder forDialogflowCxAgentTextToSpeechSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxAgentTextToSpeechSettingsbuild()Builds the configured instance.DialogflowCxAgentTextToSpeechSettings.BuildersynthesizeSpeechConfigs(String synthesizeSpeechConfigs)Sets the value ofDialogflowCxAgentTextToSpeechSettings.getSynthesizeSpeechConfigs()
-
-
-
Method Detail
-
synthesizeSpeechConfigs
@Stability(Stable) public DialogflowCxAgentTextToSpeechSettings.Builder synthesizeSpeechConfigs(String synthesizeSpeechConfigs)
Sets the value ofDialogflowCxAgentTextToSpeechSettings.getSynthesizeSpeechConfigs()- Parameters:
synthesizeSpeechConfigs- Configuration of how speech should be synthesized, mapping from language to SynthesizeSpeechConfig. These settings affect: * The phone gateway synthesize configuration set via Agent.text_to_speech_settings. * How speech is synthesized when invoking session APIs. 'Agent.text_to_speech_settings' only applies if 'OutputAudioConfig.synthesize_speech_config' is not specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_agent#synthesize_speech_configs DialogflowCxAgent#synthesize_speech_configs}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxAgentTextToSpeechSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxAgentTextToSpeechSettings>- Returns:
- a new instance of
DialogflowCxAgentTextToSpeechSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-