Interface CustomEntityType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomEntityType.Builder,CustomEntityType>,SdkBuilder<CustomEntityType.Builder,CustomEntityType>,SdkPojo
- Enclosing class:
- CustomEntityType
public static interface CustomEntityType.Builder extends SdkPojo, CopyableBuilder<CustomEntityType.Builder,CustomEntityType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomEntityType.BuildercontextWords(String... contextWords)A list of context words.CustomEntityType.BuildercontextWords(Collection<String> contextWords)A list of context words.CustomEntityType.Buildername(String name)A name for the custom pattern that allows it to be retrieved or deleted later.CustomEntityType.BuilderregexString(String regexString)A regular expression string that is used for detecting sensitive data in a custom pattern.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CustomEntityType.Builder name(String name)
A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
- Parameters:
name- A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexString
CustomEntityType.Builder regexString(String 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextWords
CustomEntityType.Builder contextWords(Collection<String> 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. 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:
- Returns a reference to this object so that method calls can be chained together.
-
contextWords
CustomEntityType.Builder contextWords(String... 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. 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:
- Returns a reference to this object so that method calls can be chained together.
-
-