docs: public Notification withJobStatesToNotify(JobState... jobStatesToNotify) {
          java.util.ArrayList<String> jobStatesToNotifyCopy = new java.util.ArrayList<String>(jobStatesToNotify.length);
          for (JobState value : jobStatesToNotify) {
              jobStatesToNotifyCopy.add(value.toString());
          }
          if (getJobStatesToNotify() == null) {
              setJobStatesToNotify(jobStatesToNotifyCopy);
          } else {
              getJobStatesToNotify().addAll(jobStatesToNotifyCopy);
          }
          return this;
      }