code: public EventDestination withMatchingEventTypes(String... matchingEventTypes) {
          if (this.matchingEventTypes == null) {
              setMatchingEventTypes(new com.amazonaws.internal.SdkInternalList<String>(matchingEventTypes.length));
          }
          for (String ele : matchingEventTypes) {
              this.matchingEventTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The type of email sending events to publish to the event destination.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setMatchingEventTypes(java.util.Collection)} or {@link #withMatchingEventTypes(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param matchingEventTypes
  The type of email sending events to publish to the event destination.
  @return Returns a reference to this object so that method calls can be chained together.
  @see EventType