Class CfnAllowListPropsMixin.CriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.macie.CfnAllowListPropsMixin.CriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAllowListPropsMixin.CriteriaProperty>
- Enclosing interface:
CfnAllowListPropsMixin.CriteriaProperty
@Stability(Stable)
public static final class CfnAllowListPropsMixin.CriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAllowListPropsMixin.CriteriaProperty>
A builder for
CfnAllowListPropsMixin.CriteriaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAllowListPropsMixin.CriteriaProperty.getRegex()s3WordsList(CfnAllowListPropsMixin.S3WordsListProperty s3WordsList) Sets the value ofCfnAllowListPropsMixin.CriteriaProperty.getS3WordsList()s3WordsList(IResolvable s3WordsList) Sets the value ofCfnAllowListPropsMixin.CriteriaProperty.getS3WordsList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regex
Sets the value ofCfnAllowListPropsMixin.CriteriaProperty.getRegex()- Parameters:
regex- The regular expression ( regex ) that defines the text pattern to ignore. The expression can contain 1-512 characters.- Returns:
this
-
s3WordsList
@Stability(Stable) public CfnAllowListPropsMixin.CriteriaProperty.Builder s3WordsList(IResolvable s3WordsList) Sets the value ofCfnAllowListPropsMixin.CriteriaProperty.getS3WordsList()- Parameters:
s3WordsList- The location and name of an Amazon S3 object that lists specific text to ignore.- Returns:
this
-
s3WordsList
@Stability(Stable) public CfnAllowListPropsMixin.CriteriaProperty.Builder s3WordsList(CfnAllowListPropsMixin.S3WordsListProperty s3WordsList) Sets the value ofCfnAllowListPropsMixin.CriteriaProperty.getS3WordsList()- Parameters:
s3WordsList- The location and name of an Amazon S3 object that lists specific text to ignore.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAllowListPropsMixin.CriteriaProperty>- Returns:
- a new instance of
CfnAllowListPropsMixin.CriteriaProperty - Throws:
NullPointerException- if any required attribute was not provided
-