Package com.oracle.bmc.datasafe.model
Class MaskingFormat.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.MaskingFormat.Builder
-
- Enclosing class:
- MaskingFormat
public static class MaskingFormat.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
condition
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.
- Parameters:
condition
- the value to set- Returns:
- this builder
-
description
public MaskingFormat.Builder description(String description)
The description of the masking format.- Parameters:
description
- the value to set- Returns:
- this builder
-
formatEntries
public 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.
- Parameters:
formatEntries
- the value to set- Returns:
- this builder
-
build
public MaskingFormat build()
-
copy
public MaskingFormat.Builder copy(MaskingFormat model)
-
-