code: public void marshall(EventFilter eventFilter, ProtocolMarshaller protocolMarshaller) {
  
          if (eventFilter == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(eventFilter.getEventArns(), EVENTARNS_BINDING);
              protocolMarshaller.marshall(eventFilter.getEventTypeCodes(), EVENTTYPECODES_BINDING);
              protocolMarshaller.marshall(eventFilter.getServices(), SERVICES_BINDING);
              protocolMarshaller.marshall(eventFilter.getRegions(), REGIONS_BINDING);
              protocolMarshaller.marshall(eventFilter.getAvailabilityZones(), AVAILABILITYZONES_BINDING);
              protocolMarshaller.marshall(eventFilter.getStartTimes(), STARTTIMES_BINDING);
              protocolMarshaller.marshall(eventFilter.getEndTimes(), ENDTIMES_BINDING);
              protocolMarshaller.marshall(eventFilter.getLastUpdatedTimes(), LASTUPDATEDTIMES_BINDING);
              protocolMarshaller.marshall(eventFilter.getEntityArns(), ENTITYARNS_BINDING);
              protocolMarshaller.marshall(eventFilter.getEntityValues(), ENTITYVALUES_BINDING);
              protocolMarshaller.marshall(eventFilter.getEventTypeCategories(), EVENTTYPECATEGORIES_BINDING);
              protocolMarshaller.marshall(eventFilter.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(eventFilter.getEventStatusCodes(), EVENTSTATUSCODES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.