Class DialogflowCxSecuritySettingsAudioExportSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_security_settings.DialogflowCxSecuritySettingsAudioExportSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxSecuritySettingsAudioExportSettings>
- Enclosing interface:
- DialogflowCxSecuritySettingsAudioExportSettings
@Stability(Stable) public static final class DialogflowCxSecuritySettingsAudioExportSettings.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxSecuritySettingsAudioExportSettings>
A builder forDialogflowCxSecuritySettingsAudioExportSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxSecuritySettingsAudioExportSettings.BuilderaudioExportPattern(String audioExportPattern)Sets the value ofDialogflowCxSecuritySettingsAudioExportSettings.getAudioExportPattern()DialogflowCxSecuritySettingsAudioExportSettings.BuilderaudioFormat(String audioFormat)Sets the value ofDialogflowCxSecuritySettingsAudioExportSettings.getAudioFormat()DialogflowCxSecuritySettingsAudioExportSettingsbuild()Builds the configured instance.DialogflowCxSecuritySettingsAudioExportSettings.BuilderenableAudioRedaction(com.hashicorp.cdktf.IResolvable enableAudioRedaction)DialogflowCxSecuritySettingsAudioExportSettings.BuilderenableAudioRedaction(Boolean enableAudioRedaction)DialogflowCxSecuritySettingsAudioExportSettings.BuildergcsBucket(String gcsBucket)Sets the value ofDialogflowCxSecuritySettingsAudioExportSettings.getGcsBucket()
-
-
-
Method Detail
-
audioExportPattern
@Stability(Stable) public DialogflowCxSecuritySettingsAudioExportSettings.Builder audioExportPattern(String audioExportPattern)
Sets the value ofDialogflowCxSecuritySettingsAudioExportSettings.getAudioExportPattern()- Parameters:
audioExportPattern- Filename pattern for exported audio. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#audio_export_pattern DialogflowCxSecuritySettings#audio_export_pattern}- Returns:
this
-
audioFormat
@Stability(Stable) public DialogflowCxSecuritySettingsAudioExportSettings.Builder audioFormat(String audioFormat)
Sets the value ofDialogflowCxSecuritySettingsAudioExportSettings.getAudioFormat()- Parameters:
audioFormat- File format for exported audio file. Currently only in telephony recordings. * MULAW: G.711 mu-law PCM with 8kHz sample rate. * MP3: MP3 file format. * OGG: OGG Vorbis. Possible values: ["MULAW", "MP3", "OGG"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#audio_format DialogflowCxSecuritySettings#audio_format}- Returns:
this
-
enableAudioRedaction
@Stability(Stable) public DialogflowCxSecuritySettingsAudioExportSettings.Builder enableAudioRedaction(Boolean enableAudioRedaction)
- Parameters:
enableAudioRedaction- Enable audio redaction if it is true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#enable_audio_redaction DialogflowCxSecuritySettings#enable_audio_redaction}- Returns:
this
-
enableAudioRedaction
@Stability(Stable) public DialogflowCxSecuritySettingsAudioExportSettings.Builder enableAudioRedaction(com.hashicorp.cdktf.IResolvable enableAudioRedaction)
- Parameters:
enableAudioRedaction- Enable audio redaction if it is true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#enable_audio_redaction DialogflowCxSecuritySettings#enable_audio_redaction}- Returns:
this
-
gcsBucket
@Stability(Stable) public DialogflowCxSecuritySettingsAudioExportSettings.Builder gcsBucket(String gcsBucket)
Sets the value ofDialogflowCxSecuritySettingsAudioExportSettings.getGcsBucket()- Parameters:
gcsBucket- Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#gcs_bucket DialogflowCxSecuritySettings#gcs_bucket}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxSecuritySettingsAudioExportSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxSecuritySettingsAudioExportSettings>- Returns:
- a new instance of
DialogflowCxSecuritySettingsAudioExportSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-