code: public void setEventTypes(java.util.Collection<EventType> eventTypes) {
          if (eventTypes == null) {
              this.eventTypes = null;
              return;
          }
  
          this.eventTypes = new java.util.ArrayList<EventType>(eventTypes);
      }
docs: <p>
  A list of event types that match the filter criteria. Event types have a category (<code>issue</code>,
  <code>accountNotification</code>, or <code>scheduledChange</code>), a service (for example, <code>EC2</code>,
  <code>RDS</code>, <code>DATAPIPELINE</code>, <code>BILLING</code>), and a code (in the format
  <code>AWS_<i>SERVICE</i>_<i>DESCRIPTION</i> </code>; for example, <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>).
  </p>
  
  @param eventTypes
  A list of event types that match the filter criteria. Event types have a category (<code>issue</code>,
  <code>accountNotification</code>, or <code>scheduledChange</code>), a service (for example,
  <code>EC2</code>, <code>RDS</code>, <code>DATAPIPELINE</code>, <code>BILLING</code>), and a code (in the
  format <code>AWS_<i>SERVICE</i>_<i>DESCRIPTION</i> </code>; for example,
  <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>).