Class DeterministicEncryptionFormatEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.DeterministicEncryptionFormatEntry.Builder
-
- Enclosing class:
- DeterministicEncryptionFormatEntry
public static class DeterministicEncryptionFormatEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeterministicEncryptionFormatEntry
build()
DeterministicEncryptionFormatEntry.Builder
copy(DeterministicEncryptionFormatEntry model)
DeterministicEncryptionFormatEntry.Builder
description(String description)
DeterministicEncryptionFormatEntry.Builder
regularExpression(String regularExpression)
The regular expression to be used for masking.
-
-
-
Method Detail
-
description
public DeterministicEncryptionFormatEntry.Builder description(String description)
-
regularExpression
public DeterministicEncryptionFormatEntry.Builder regularExpression(String regularExpression)
The regular expression to be used for masking.For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
In the case of ASCII characters, if a regular expression is not provided, Deterministic Encryption can encrypt variable-length column values while preserving their original format.
If a regular expression is provided, the column values in all the rows must match the regular expression. Deterministic Encryption supports a subset of the regular expression language. It supports encryption of fixed-length strings, and does not support * or + syntax of regular expressions. The encrypted values also match the regular expression, which helps to ensure that the original format is preserved. If an original value does not match the regular expression, Deterministic Encryption might not produce a one-to-one mapping. All non-confirming values are mapped to a single encrypted value, thereby producing a many-to-one mapping.
- Parameters:
regularExpression
- the value to set- Returns:
- this builder
-
build
public DeterministicEncryptionFormatEntry build()
-
copy
public DeterministicEncryptionFormatEntry.Builder copy(DeterministicEncryptionFormatEntry model)
-
-