Class DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_inspect_template.DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule>
- Enclosing interface:
- DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule
@Stability(Stable) public static final class DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
matchingType
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder matchingType(String matchingType)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.getMatchingType()- Parameters:
matchingType- How the rule is applied. See the documentation for more information: https://cloud.google.com/dlp/docs/reference/rest/v2/InspectConfig#MatchingType Possible values: ["MATCHING_TYPE_FULL_MATCH", "MATCHING_TYPE_PARTIAL_MATCH", "MATCHING_TYPE_INVERSE_MATCH"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#matching_type DataLossPreventionInspectTemplate#matching_type}- Returns:
this
-
dictionary
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder dictionary(DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRuleDictionary dictionary)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.getDictionary()- Parameters:
dictionary- dictionary block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#dictionary DataLossPreventionInspectTemplate#dictionary}- Returns:
this
-
excludeByHotword
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder excludeByHotword(DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeByHotword excludeByHotword)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.getExcludeByHotword()- Parameters:
excludeByHotword- exclude_by_hotword block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#exclude_by_hotword DataLossPreventionInspectTemplate#exclude_by_hotword}- Returns:
this
-
excludeInfoTypes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder excludeInfoTypes(DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRuleExcludeInfoTypes excludeInfoTypes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.getExcludeInfoTypes()- Parameters:
excludeInfoTypes- exclude_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#exclude_info_types DataLossPreventionInspectTemplate#exclude_info_types}- Returns:
this
-
regex
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.Builder regex(DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRuleRegex regex)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule.getRegex()- Parameters:
regex- regex block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#regex DataLossPreventionInspectTemplate#regex}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule>- Returns:
- a new instance of
DataLossPreventionInspectTemplateInspectConfigRuleSetRulesExclusionRule - Throws:
NullPointerException- if any required attribute was not provided
-
-