Class CfnCustomEntityTypeProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCustomEntityTypeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomEntityTypeProps>
- Enclosing interface:
CfnCustomEntityTypeProps
@Stability(Stable)
public static final class CfnCustomEntityTypeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomEntityTypeProps>
A builder for
CfnCustomEntityTypeProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.contextWords
(List<String> contextWords) Sets the value ofCfnCustomEntityTypeProps.getContextWords()
Sets the value ofCfnCustomEntityTypeProps.getName()
regexString
(String regexString) Sets the value ofCfnCustomEntityTypeProps.getRegexString()
Sets the value ofCfnCustomEntityTypeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contextWords
Sets the value ofCfnCustomEntityTypeProps.getContextWords()
- Parameters:
contextWords
- A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.If no context words are passed only a regular expression is checked.
- Returns:
this
-
name
Sets the value ofCfnCustomEntityTypeProps.getName()
- Parameters:
name
- A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per AWS account.- Returns:
this
-
regexString
Sets the value ofCfnCustomEntityTypeProps.getRegexString()
- Parameters:
regexString
- A regular expression string that is used for detecting sensitive data in a custom pattern.- Returns:
this
-
tags
Sets the value ofCfnCustomEntityTypeProps.getTags()
- Parameters:
tags
- AWS tags that contain a key value pair and may be searched by console, command line, or API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomEntityTypeProps>
- Returns:
- a new instance of
CfnCustomEntityTypeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-