code: public void setEventTypes(java.util.Collection<String> eventTypes) {
          if (eventTypes == null) {
              this.eventTypes = null;
              return;
          }
  
          this.eventTypes = new java.util.ArrayList<String>(eventTypes);
      }
docs: <p>
  The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted |
  AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved |
  HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the
  SendTestEventNotification operation.
  </p>
  
  @param eventTypes
  The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted |
  AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved |
  HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid
  for the SendTestEventNotification operation.
  @see EventType