public static class MaskingFormat.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MaskingFormat |
build() |
MaskingFormat.Builder |
condition(String condition)
A condition that must be true for applying the masking format.
|
MaskingFormat.Builder |
copy(MaskingFormat model) |
MaskingFormat.Builder |
description(String description)
The description of the masking format.
|
MaskingFormat.Builder |
formatEntries(List<FormatEntry> formatEntries)
An array of format entries.
|
public MaskingFormat.Builder condition(String condition)
A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
condition
- the value to setpublic MaskingFormat.Builder description(String description)
The description of the masking format.
description
- the value to setpublic MaskingFormat.Builder formatEntries(List<FormatEntry> formatEntries)
An array of format entries. The combined output of all the format entries is used for masking the column data values.
formatEntries
- the value to setpublic MaskingFormat build()
public MaskingFormat.Builder copy(MaskingFormat model)
Copyright © 2016–2024. All rights reserved.