code: public void setMatchingEventTypes(java.util.Collection<String> matchingEventTypes) {
          if (matchingEventTypes == null) {
              this.matchingEventTypes = null;
              return;
          }
  
          this.matchingEventTypes = new java.util.ArrayList<String>(matchingEventTypes);
      }
docs: <p>
  The types of events that Amazon Pinpoint sends to the specified event destinations.
  </p>
  
  @param matchingEventTypes
  The types of events that Amazon Pinpoint sends to the specified event destinations.
  @see EventType