public void setEvents(List<ProfileEvent> events) {
        this.events = events;
    }
set events

@param events the events to set
inlong-sort-standalone/sort-standalone-source/src/main/java/org/apache/inlong/sort/standalone/dispatch/DispatchProfile.java