code: public AutoRollbackConfiguration withEvents(AutoRollbackEvent... events) {
          com.amazonaws.internal.SdkInternalList<String> eventsCopy = new com.amazonaws.internal.SdkInternalList<String>(events.length);
          for (AutoRollbackEvent value : events) {
              eventsCopy.add(value.toString());
          }
          if (getEvents() == null) {
              setEvents(eventsCopy);
          } else {
              getEvents().addAll(eventsCopy);
          }
          return this;
      }
docs: <p>
  The event type or types that trigger a rollback.
  </p>
  
  @param events
  The event type or types that trigger a rollback.
  @return Returns a reference to this object so that method calls can be chained together.
  @see AutoRollbackEvent