code: public AssessmentRun withNotifications(AssessmentRunNotification... notifications) {
          if (this.notifications == null) {
              setNotifications(new java.util.ArrayList<AssessmentRunNotification>(notifications.length));
          }
          for (AssessmentRunNotification ele : notifications) {
              this.notifications.add(ele);
          }
          return this;
      }
docs: <p>
  A list of notifications for the event subscriptions. A notification about a particular generated finding is added
  to this list only once.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNotifications(java.util.Collection)} or {@link #withNotifications(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param notifications
  A list of notifications for the event subscriptions. A notification about a particular generated finding
  is added to this list only once.
  @return Returns a reference to this object so that method calls can be chained together.