Class CfnAllowListMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.macie.CfnAllowListMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAllowListMixinProps>
- Enclosing interface:
CfnAllowListMixinProps
@Stability(Stable)
public static final class CfnAllowListMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAllowListMixinProps>
A builder for
CfnAllowListMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAllowListMixinProps.getCriteria()criteria(IResolvable criteria) Sets the value ofCfnAllowListMixinProps.getCriteria()description(String description) Sets the value ofCfnAllowListMixinProps.getDescription()Sets the value ofCfnAllowListMixinProps.getName()Sets the value ofCfnAllowListMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
criteria
Sets the value ofCfnAllowListMixinProps.getCriteria()- Parameters:
criteria- The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an Amazon S3 object that lists specific text to ignore (S3WordsList), or a regular expression (Regex) that defines a text pattern to ignore.- Returns:
this
-
criteria
@Stability(Stable) public CfnAllowListMixinProps.Builder criteria(CfnAllowListPropsMixin.CriteriaProperty criteria) Sets the value ofCfnAllowListMixinProps.getCriteria()- Parameters:
criteria- The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an Amazon S3 object that lists specific text to ignore (S3WordsList), or a regular expression (Regex) that defines a text pattern to ignore.- Returns:
this
-
description
Sets the value ofCfnAllowListMixinProps.getDescription()- Parameters:
description- A custom description of the allow list. The description can contain 1-512 characters.- Returns:
this
-
name
Sets the value ofCfnAllowListMixinProps.getName()- Parameters:
name- A custom name for the allow list. The name can contain 1-128 characters.- Returns:
this
-
tags
Sets the value ofCfnAllowListMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the allow list. For more information, see Resource tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAllowListMixinProps>- Returns:
- a new instance of
CfnAllowListMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-