code: public void setConnectionEvents(java.util.Collection<String> connectionEvents) {
          if (connectionEvents == null) {
              this.connectionEvents = null;
              return;
          }
  
          this.connectionEvents = new com.amazonaws.internal.SdkInternalList<String>(connectionEvents);
      }
docs: <p>
  One or more events for the endpoint. Valid values are <code>Accept</code>, <code>Connect</code>,
  <code>Delete</code>, and <code>Reject</code>.
  </p>
  
  @param connectionEvents
  One or more events for the endpoint. Valid values are <code>Accept</code>, <code>Connect</code>,
  <code>Delete</code>, and <code>Reject</code>.