public ModifyVpcEndpointConnectionNotificationRequest withConnectionEvents(java.util.Collection<String> connectionEvents) {
        setConnectionEvents(connectionEvents);
        return this;
    }
<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>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointConnectionNotificationRequest.java