Class CfnCustomEntityType.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCustomEntityType.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomEntityType>
- Enclosing class:
CfnCustomEntityType
@Stability(Stable)
public static final class CfnCustomEntityType.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomEntityType>
A fluent builder for
CfnCustomEntityType
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contextWords
(List<String> contextWords) A list of context words.static CfnCustomEntityType.Builder
A name for the custom pattern that allows it to be retrieved or deleted later.regexString
(String regexString) A regular expression string that is used for detecting sensitive data in a custom pattern.AWS tags that contain a key value pair and may be searched by console, command line, or API.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomEntityType.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCustomEntityType.Builder
.
-
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.
- Parameters:
contextWords
- A list of context words. This parameter is required.- Returns:
this
- See Also:
-
name
A name for the custom pattern that allows it to be retrieved or deleted later.This name must be unique per AWS account.
- Parameters:
name
- A name for the custom pattern that allows it to be retrieved or deleted later. This parameter is required.- Returns:
this
- See Also:
-
regexString
A regular expression string that is used for detecting sensitive data in a custom pattern.- Parameters:
regexString
- A regular expression string that is used for detecting sensitive data in a custom pattern. This parameter is required.- Returns:
this
- See Also:
-
tags
AWS tags that contain a key value pair and may be searched by console, command line, or API.- Parameters:
tags
- AWS tags that contain a key value pair and may be searched by console, command line, or API. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomEntityType>
- Returns:
- a newly built instance of
CfnCustomEntityType
.
-