@Stability(value=Stable) public static final class CfnCustomDataIdentifierProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomDataIdentifierProps>
CfnCustomDataIdentifierProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCustomDataIdentifierProps |
build()
Builds the configured instance.
|
CfnCustomDataIdentifierProps.Builder |
description(String description)
Sets the value of
CfnCustomDataIdentifierProps.getDescription() |
CfnCustomDataIdentifierProps.Builder |
ignoreWords(List<String> ignoreWords)
Sets the value of
CfnCustomDataIdentifierProps.getIgnoreWords() |
CfnCustomDataIdentifierProps.Builder |
keywords(List<String> keywords)
Sets the value of
CfnCustomDataIdentifierProps.getKeywords() |
CfnCustomDataIdentifierProps.Builder |
maximumMatchDistance(Number maximumMatchDistance)
Sets the value of
CfnCustomDataIdentifierProps.getMaximumMatchDistance() |
CfnCustomDataIdentifierProps.Builder |
name(String name)
Sets the value of
CfnCustomDataIdentifierProps.getName() |
CfnCustomDataIdentifierProps.Builder |
regex(String regex)
Sets the value of
CfnCustomDataIdentifierProps.getRegex() |
@Stability(value=Stable) public CfnCustomDataIdentifierProps.Builder name(String name)
CfnCustomDataIdentifierProps.getName()name - A custom name for the custom data identifier. The name can contain as many as 128 characters. This parameter is required.
We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie .this@Stability(value=Stable) public CfnCustomDataIdentifierProps.Builder regex(String regex)
CfnCustomDataIdentifierProps.getRegex()regex - The regular expression ( *regex* ) that defines the pattern to match. This parameter is required.
The expression can contain as many as 512 characters.this@Stability(value=Stable) public CfnCustomDataIdentifierProps.Builder description(String description)
CfnCustomDataIdentifierProps.getDescription()description - The description of the custom data identifier.
The description can contain as many as 512 characters.this@Stability(value=Stable) public CfnCustomDataIdentifierProps.Builder ignoreWords(List<String> ignoreWords)
CfnCustomDataIdentifierProps.getIgnoreWords()ignoreWords - An array that lists specific character sequences (ignore words) to exclude from the results.
If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.this@Stability(value=Stable) public CfnCustomDataIdentifierProps.Builder keywords(List<String> keywords)
CfnCustomDataIdentifierProps.getKeywords()keywords - An array that lists specific character sequences (keywords), one of which must be within proximity ( `MaximumMatchDistance` ) of the regular expression to match.
The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.this@Stability(value=Stable) public CfnCustomDataIdentifierProps.Builder maximumMatchDistance(Number maximumMatchDistance)
CfnCustomDataIdentifierProps.getMaximumMatchDistance()maximumMatchDistance - The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the `Keywords` array.
Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.this@Stability(value=Stable) public CfnCustomDataIdentifierProps build()
build in interface software.amazon.jsii.Builder<CfnCustomDataIdentifierProps>CfnCustomDataIdentifierPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.