code: public EventsBatch withEvents(java.util.Map<String, Event> events) {
          setEvents(events);
          return this;
      }
docs: An object that contains a set of events associated with the endpoint.
  
  @param events
  An object that contains a set of events associated with the endpoint.
  @return Returns a reference to this object so that method calls can be chained together.