Class DataMaskingEntity


  • public final class DataMaskingEntity
    extends Object
    The DataMaskingEntity model.
    • Constructor Detail

      • DataMaskingEntity

        public DataMaskingEntity()
    • Method Detail

      • value

        public String value()
        Get the value property: The name of an entity to mask (e.g. a name of a header or a query parameter).
        Returns:
        the value value.
      • withValue

        public DataMaskingEntity withValue​(String value)
        Set the value property: The name of an entity to mask (e.g. a name of a header or a query parameter).
        Parameters:
        value - the value value to set.
        Returns:
        the DataMaskingEntity object itself.
      • mode

        public DataMaskingMode mode()
        Get the mode property: Data masking mode.
        Returns:
        the mode value.
      • withMode

        public DataMaskingEntity withMode​(DataMaskingMode mode)
        Set the mode property: Data masking mode.
        Parameters:
        mode - the mode value to set.
        Returns:
        the DataMaskingEntity object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.