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