code: public void setMaskedHeaderNames(final List<String> maskedHeaderNames) {
          this.maskedHeaderNames.clear();
          if (maskedHeaderNames != null) {
              maskedHeaderNames.forEach(h -> {
                  addMaskedHeaderName(h);
              });
          }
      }
docs: Set the list of header names to mask values for. If null, will clear the header names to mask.
  
  @param maskedHeaderNames a list of header names that should have the values masked, if null, will clear
  the header names to mask