public UserGroup withUserGroupId(String userGroupId) {
        setUserGroupId(userGroupId);
        return this;
    }
<p>
The ID of the user group.
</p>

@param userGroupId
       The ID of the user group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/UserGroup.java