Class DataLossPreventionInspectTemplateInspectConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_inspect_template.DataLossPreventionInspectTemplateInspectConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfig>
- Enclosing interface:
- DataLossPreventionInspectTemplateInspectConfig
@Stability(Stable) public static final class DataLossPreventionInspectTemplateInspectConfig.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfig>
A builder forDataLossPreventionInspectTemplateInspectConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
contentOptions
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder contentOptions(List<String> contentOptions)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getContentOptions()- Parameters:
contentOptions- List of options defining data content to scan. If empty, text, images, and other content will be included. Possible values: ["CONTENT_TEXT", "CONTENT_IMAGE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#content_options DataLossPreventionInspectTemplate#content_options}- Returns:
this
-
customInfoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder customInfoTypes(com.hashicorp.cdktf.IResolvable customInfoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getCustomInfoTypes()- Parameters:
customInfoTypes- custom_info_types block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#custom_info_types DataLossPreventionInspectTemplate#custom_info_types}- Returns:
this
-
customInfoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder customInfoTypes(List<? extends DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes> customInfoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getCustomInfoTypes()- Parameters:
customInfoTypes- custom_info_types block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#custom_info_types DataLossPreventionInspectTemplate#custom_info_types}- Returns:
this
-
excludeInfoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder excludeInfoTypes(Boolean excludeInfoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getExcludeInfoTypes()- Parameters:
excludeInfoTypes- When true, excludes type information of the findings. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#exclude_info_types DataLossPreventionInspectTemplate#exclude_info_types}- Returns:
this
-
excludeInfoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder excludeInfoTypes(com.hashicorp.cdktf.IResolvable excludeInfoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getExcludeInfoTypes()- Parameters:
excludeInfoTypes- When true, excludes type information of the findings. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#exclude_info_types DataLossPreventionInspectTemplate#exclude_info_types}- Returns:
this
-
includeQuote
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder includeQuote(Boolean includeQuote)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getIncludeQuote()- Parameters:
includeQuote- When true, a contextual quote from the data that triggered a finding is included in the response. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#include_quote DataLossPreventionInspectTemplate#include_quote}- Returns:
this
-
includeQuote
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder includeQuote(com.hashicorp.cdktf.IResolvable includeQuote)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getIncludeQuote()- Parameters:
includeQuote- When true, a contextual quote from the data that triggered a finding is included in the response. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#include_quote DataLossPreventionInspectTemplate#include_quote}- Returns:
this
-
infoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder infoTypes(com.hashicorp.cdktf.IResolvable infoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getInfoTypes()- Parameters:
infoTypes- info_types block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#info_types DataLossPreventionInspectTemplate#info_types}- Returns:
this
-
infoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder infoTypes(List<? extends DataLossPreventionInspectTemplateInspectConfigInfoTypes> infoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getInfoTypes()- Parameters:
infoTypes- info_types block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#info_types DataLossPreventionInspectTemplate#info_types}- Returns:
this
-
limits
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder limits(DataLossPreventionInspectTemplateInspectConfigLimits limits)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getLimits()- Parameters:
limits- limits block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#limits DataLossPreventionInspectTemplate#limits}- Returns:
this
-
minLikelihood
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder minLikelihood(String minLikelihood)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getMinLikelihood()- Parameters:
minLikelihood- Only returns findings equal or above this threshold. See https://cloud.google.com/dlp/docs/likelihood for more info Default value: "POSSIBLE" Possible values: ["VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#min_likelihood DataLossPreventionInspectTemplate#min_likelihood}- Returns:
this
-
ruleSet
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder ruleSet(com.hashicorp.cdktf.IResolvable ruleSet)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getRuleSet()- Parameters:
ruleSet- rule_set block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#rule_set DataLossPreventionInspectTemplate#rule_set}- Returns:
this
-
ruleSet
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig.Builder ruleSet(List<? extends DataLossPreventionInspectTemplateInspectConfigRuleSet> ruleSet)
Sets the value ofDataLossPreventionInspectTemplateInspectConfig.getRuleSet()- Parameters:
ruleSet- rule_set block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#rule_set DataLossPreventionInspectTemplate#rule_set}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfig>- Returns:
- a new instance of
DataLossPreventionInspectTemplateInspectConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-