Class MaskingFormat.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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