code: public void setTriggers(List<Trigger> triggers) {
          this.triggers.clear();
          if (triggers != null) {
              this.triggers.addAll(triggers);
          }
      }
docs: Replaces the triggers associated with the notification.
  
  @param  triggers  The triggers associated with the notification.