@Stability(value=Stable) public static final class CfnAllowListProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAllowListProps>
CfnAllowListProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAllowListProps |
build()
Builds the configured instance.
|
CfnAllowListProps.Builder |
criteria(CfnAllowList.CriteriaProperty criteria)
Sets the value of
CfnAllowListProps.getCriteria() |
CfnAllowListProps.Builder |
criteria(IResolvable criteria)
Sets the value of
CfnAllowListProps.getCriteria() |
CfnAllowListProps.Builder |
description(String description)
Sets the value of
CfnAllowListProps.getDescription() |
CfnAllowListProps.Builder |
name(String name)
Sets the value of
CfnAllowListProps.getName() |
CfnAllowListProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnAllowListProps.getTags() |
@Stability(value=Stable) public CfnAllowListProps.Builder criteria(CfnAllowList.CriteriaProperty criteria)
CfnAllowListProps.getCriteria()criteria - The criteria that specify the text or text pattern to ignore. This parameter is required.
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.this@Stability(value=Stable) public CfnAllowListProps.Builder criteria(IResolvable criteria)
CfnAllowListProps.getCriteria()criteria - The criteria that specify the text or text pattern to ignore. This parameter is required.
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.this@Stability(value=Stable) public CfnAllowListProps.Builder name(String name)
CfnAllowListProps.getName()name - A custom name for the allow list. This parameter is required.
The name can contain 1-128 characters.this@Stability(value=Stable) public CfnAllowListProps.Builder description(String description)
CfnAllowListProps.getDescription()description - A custom description of the allow list.
The description can contain 1-512 characters.this@Stability(value=Stable) public CfnAllowListProps.Builder tags(List<? extends CfnTag> tags)
CfnAllowListProps.getTags()tags - An array of key-value pairs to apply to the allow list.
For more information, see Tag .this@Stability(value=Stable) public CfnAllowListProps build()
build in interface software.amazon.jsii.Builder<CfnAllowListProps>CfnAllowListPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.