Class DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_job_trigger.DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex>
- Enclosing interface:
- DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex
@Stability(Stable) public static final class DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegexbuild()Builds the configured instance.DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.BuildergroupIndexes(List<? extends Number> groupIndexes)DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.Builderpattern(String pattern)
-
-
-
Method Detail
-
pattern
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.Builder pattern(String pattern)
Sets the value ofDataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.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_job_trigger#pattern DataLossPreventionJobTrigger#pattern}- Returns:
this
-
groupIndexes
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.Builder groupIndexes(List<? extends Number> groupIndexes)
Sets the value ofDataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex.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_job_trigger#group_indexes DataLossPreventionJobTrigger#group_indexes}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex>- Returns:
- a new instance of
DataLossPreventionJobTriggerInspectJobInspectConfigCustomInfoTypesRegex - Throws:
NullPointerException- if any required attribute was not provided
-
-