code: public SetCognitoEventsRequest withEvents(java.util.Map<String, String> events) {
          setEvents(events);
          return this;
      }
docs: <p>
  The events to configure
  </p>
  
  @param events
  The events to configure
  @return Returns a reference to this object so that method calls can be chained together.