public void setUserId(String userId) {
        this.userId = userId;
    }
<p>
The user associated with the event.
</p>

@param userId
       The user associated with the event.
aws-java-sdk-personalizeevents/src/main/java/com/amazonaws/services/personalizeevents/model/PutEventsRequest.java