Class DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_inspect_template.DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex>
- Enclosing interface:
- DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex
@Stability(Stable) public static final class DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegexbuild()Builds the configured instance.DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.BuildergroupIndexes(List<? extends Number> groupIndexes)DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.Builderpattern(String pattern)
-
-
-
Method Detail
-
pattern
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.Builder pattern(String pattern)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.getPattern()- Parameters:
pattern- Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub. 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#pattern DataLossPreventionInspectTemplate#pattern}- Returns:
this
-
groupIndexes
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.Builder groupIndexes(List<? extends Number> groupIndexes)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex.getGroupIndexes()- Parameters:
groupIndexes- The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#group_indexes DataLossPreventionInspectTemplate#group_indexes}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex>- Returns:
- a new instance of
DataLossPreventionInspectTemplateInspectConfigRuleSetRulesHotwordRuleHotwordRegex - Throws:
NullPointerException- if any required attribute was not provided
-
-