public void setConnectionEvents(java.util.Collection<String> connectionEvents) {
        if (connectionEvents == null) {
            this.connectionEvents = null;
            return;
        }

        this.connectionEvents = new com.amazonaws.internal.SdkInternalList<String>(connectionEvents);
    }
<p>
The events for the endpoint. Valid values are <code>Accept</code>, <code>Connect</code>, <code>Delete</code>, and
<code>Reject</code>.
</p>

@param connectionEvents
       The events for the endpoint. Valid values are <code>Accept</code>, <code>Connect</code>,
       <code>Delete</code>, and <code>Reject</code>.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointConnectionNotificationRequest.java