code: public PutEventSelectorsResult withEventSelectors(EventSelector... eventSelectors) {
          if (this.eventSelectors == null) {
              setEventSelectors(new com.amazonaws.internal.SdkInternalList<EventSelector>(eventSelectors.length));
          }
          for (EventSelector ele : eventSelectors) {
              this.eventSelectors.add(ele);
          }
          return this;
      }
docs: <p>
  Specifies the event selectors configured for your trail.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEventSelectors(java.util.Collection)} or {@link #withEventSelectors(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param eventSelectors
  Specifies the event selectors configured for your trail.
  @return Returns a reference to this object so that method calls can be chained together.