public void setDataMaskPolicyItems(List<RangerDataMaskPolicyItem> dataMaskPolicyItems) {
    if (this.dataMaskPolicyItems == null) {
      this.dataMaskPolicyItems = new ArrayList<>();
    }

    if (this.dataMaskPolicyItems == dataMaskPolicyItems) {
      return;
    }

    this.dataMaskPolicyItems.clear();

    if (dataMaskPolicyItems != null) {
      this.dataMaskPolicyItems.addAll(dataMaskPolicyItems);
    }
  }
@param denyExceptions the denyExceptions to set
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ranger/RangerPolicy.java