Class DialogflowCxSecuritySettingsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_security_settings.DialogflowCxSecuritySettingsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxSecuritySettingsConfig>
- Enclosing interface:
- DialogflowCxSecuritySettingsConfig
@Stability(Stable) public static final class DialogflowCxSecuritySettingsConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxSecuritySettingsConfig>
A builder forDialogflowCxSecuritySettingsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder displayName(String displayName)
Sets the value ofDialogflowCxSecuritySettingsConfig.getDisplayName()- Parameters:
displayName- The human-readable name of the security settings, unique within the location. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#display_name DialogflowCxSecuritySettings#display_name}- Returns:
this
-
location
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder location(String location)
Sets the value ofDialogflowCxSecuritySettingsConfig.getLocation()- Parameters:
location- The location these settings are located in. This parameter is required. Settings can only be applied to an agent in the same location. See [Available Regions](https://cloud.google.com/dialogflow/cx/docs/concept/region#avail) for a list of supported locations. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#location DialogflowCxSecuritySettings#location}- Returns:
this
-
audioExportSettings
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder audioExportSettings(DialogflowCxSecuritySettingsAudioExportSettings audioExportSettings)
Sets the value ofDialogflowCxSecuritySettingsConfig.getAudioExportSettings()- Parameters:
audioExportSettings- audio_export_settings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#audio_export_settings DialogflowCxSecuritySettings#audio_export_settings}- Returns:
this
-
deidentifyTemplate
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder deidentifyTemplate(String deidentifyTemplate)
Sets the value ofDialogflowCxSecuritySettingsConfig.getDeidentifyTemplate()- Parameters:
deidentifyTemplate- DLP deidentify template name. Use this template to define de-identification configuration for the content. If empty, Dialogflow replaces sensitive info with [redacted] text. Note: deidentifyTemplate must be located in the same region as the SecuritySettings. Format: projects//locations/ /deidentifyTemplates/ OR organizations/ /locations/ /deidentifyTemplates/. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#deidentify_template DialogflowCxSecuritySettings#deidentify_template} - Returns:
this
-
id
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder id(String id)
Sets the value ofDialogflowCxSecuritySettingsConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#id DialogflowCxSecuritySettings#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
insightsExportSettings
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder insightsExportSettings(DialogflowCxSecuritySettingsInsightsExportSettings insightsExportSettings)
Sets the value ofDialogflowCxSecuritySettingsConfig.getInsightsExportSettings()- Parameters:
insightsExportSettings- insights_export_settings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#insights_export_settings DialogflowCxSecuritySettings#insights_export_settings}- Returns:
this
-
inspectTemplate
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder inspectTemplate(String inspectTemplate)
Sets the value ofDialogflowCxSecuritySettingsConfig.getInspectTemplate()- Parameters:
inspectTemplate- DLP inspect template name. Use this template to define inspect base settings. If empty, we use the default DLP inspect config. Note: inspectTemplate must be located in the same region as the SecuritySettings. Format: projects//locations/ /inspectTemplates/ OR organizations/ /locations/ /inspectTemplates/. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#inspect_template DialogflowCxSecuritySettings#inspect_template} - Returns:
this
-
project
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder project(String project)
Sets the value ofDialogflowCxSecuritySettingsConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#project DialogflowCxSecuritySettings#project}.- Returns:
this
-
purgeDataTypes
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder purgeDataTypes(List<String> purgeDataTypes)
Sets the value ofDialogflowCxSecuritySettingsConfig.getPurgeDataTypes()- Parameters:
purgeDataTypes- List of types of data to remove when retention settings triggers purge. Possible values: ["DIALOGFLOW_HISTORY"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#purge_data_types DialogflowCxSecuritySettings#purge_data_types}- Returns:
this
-
redactionScope
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder redactionScope(String redactionScope)
Sets the value ofDialogflowCxSecuritySettingsConfig.getRedactionScope()- Parameters:
redactionScope- Defines what types of data to redact. If not set, defaults to not redacting any kind of data. * REDACT_DISK_STORAGE: On data to be written to disk or similar devices that are capable of holding data even if power is disconnected. This includes data that are temporarily saved on disk. Possible values: ["REDACT_DISK_STORAGE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#redaction_scope DialogflowCxSecuritySettings#redaction_scope}- Returns:
this
-
redactionStrategy
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder redactionStrategy(String redactionStrategy)
Sets the value ofDialogflowCxSecuritySettingsConfig.getRedactionStrategy()- Parameters:
redactionStrategy- Defines how we redact data. If not set, defaults to not redacting. * REDACT_WITH_SERVICE: Call redaction service to clean up the data to be persisted. Possible values: ["REDACT_WITH_SERVICE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#redaction_strategy DialogflowCxSecuritySettings#redaction_strategy}- Returns:
this
-
retentionStrategy
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder retentionStrategy(String retentionStrategy)
Sets the value ofDialogflowCxSecuritySettingsConfig.getRetentionStrategy()- Parameters:
retentionStrategy- Defines how long we retain persisted data that contains sensitive info. Only one of 'retention_window_days' and 'retention_strategy' may be set. * REMOVE_AFTER_CONVERSATION: Removes data when the conversation ends. If there is no conversation explicitly established, a default conversation ends when the corresponding Dialogflow session ends. Possible values: ["REMOVE_AFTER_CONVERSATION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#retention_strategy DialogflowCxSecuritySettings#retention_strategy}- Returns:
this
-
retentionWindowDays
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder retentionWindowDays(Number retentionWindowDays)
Sets the value ofDialogflowCxSecuritySettingsConfig.getRetentionWindowDays()- Parameters:
retentionWindowDays- Retains the data for the specified number of days. User must set a value lower than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use default TTL. Only one of 'retention_window_days' and 'retention_strategy' may be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#retention_window_days DialogflowCxSecuritySettings#retention_window_days}- Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxSecuritySettingsConfig.Builder timeouts(DialogflowCxSecuritySettingsTimeouts timeouts)
Sets the value ofDialogflowCxSecuritySettingsConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_security_settings#timeouts DialogflowCxSecuritySettings#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DialogflowCxSecuritySettingsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxSecuritySettingsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxSecuritySettingsConfig>- Returns:
- a new instance of
DialogflowCxSecuritySettingsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-