code: public DescribeEventTypesResult withEventTypes(EventType... eventTypes) {
          if (this.eventTypes == null) {
              setEventTypes(new java.util.ArrayList<EventType>(eventTypes.length));
          }
          for (EventType ele : eventTypes) {
              this.eventTypes.add(ele);
          }
          return this;
      }
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>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEventTypes(java.util.Collection)} or {@link #withEventTypes(java.util.Collection)} if you want to
  override the existing values.
  </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>).
  @return Returns a reference to this object so that method calls can be chained together.