Class CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.workspacesweb.mixins.CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProtectionSettingsPropsMixin.CustomPatternProperty>
- Enclosing interface:
CfnDataProtectionSettingsPropsMixin.CustomPatternProperty
@Stability(Stable)
public static final class CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProtectionSettingsPropsMixin.CustomPatternProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keywordRegex(String keywordRegex) patternDescription(String patternDescription) patternName(String patternName) patternRegex(String patternRegex)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keywordRegex
@Stability(Stable) public CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder keywordRegex(String keywordRegex) - Parameters:
keywordRegex- The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”- Returns:
this
-
patternDescription
@Stability(Stable) public CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder patternDescription(String patternDescription) - Parameters:
patternDescription- The pattern description for the customer pattern.- Returns:
this
-
patternName
@Stability(Stable) public CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder patternName(String patternName) - Parameters:
patternName- The pattern name for the custom pattern.- Returns:
this
-
patternRegex
@Stability(Stable) public CfnDataProtectionSettingsPropsMixin.CustomPatternProperty.Builder patternRegex(String patternRegex) - Parameters:
patternRegex- The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataProtectionSettingsPropsMixin.CustomPatternProperty>- Returns:
- a new instance of
CfnDataProtectionSettingsPropsMixin.CustomPatternProperty - Throws:
NullPointerException- if any required attribute was not provided
-