Class CfnAllowList.CriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.macie.CfnAllowList.CriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAllowList.CriteriaProperty>
- Enclosing interface:
CfnAllowList.CriteriaProperty
@Stability(Stable)
public static final class CfnAllowList.CriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAllowList.CriteriaProperty>
A builder for
CfnAllowList.CriteriaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAllowList.CriteriaProperty.getRegex()
s3WordsList
(IResolvable s3WordsList) Sets the value ofCfnAllowList.CriteriaProperty.getS3WordsList()
s3WordsList
(CfnAllowList.S3WordsListProperty s3WordsList) Sets the value ofCfnAllowList.CriteriaProperty.getS3WordsList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regex
Sets the value ofCfnAllowList.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 CfnAllowList.CriteriaProperty.Builder s3WordsList(IResolvable s3WordsList) Sets the value ofCfnAllowList.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 CfnAllowList.CriteriaProperty.Builder s3WordsList(CfnAllowList.S3WordsListProperty s3WordsList) Sets the value ofCfnAllowList.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnAllowList.CriteriaProperty>
- Returns:
- a new instance of
CfnAllowList.CriteriaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-