public InAppCampaignSchedule withEventFilter(CampaignEventFilter eventFilter) {
        setEventFilter(eventFilter);
        return this;
    }
<p>
The event filter the SDK has to use to show the in-app message in the application.
</p>

@param eventFilter
       The event filter the SDK has to use to show the in-app message in the application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/InAppCampaignSchedule.java