/**
  * Sets {@link Notification#setThingID(Long)}.
  *
  * @param thing The thing that the notification refers to.
  * @return The builder.
  */
 public B forThing(Thing thing) {
   if (thing == null) {
     notification.setThingID(null);
     return self();
   } else {
     notification.setThingID(thing.getId());
     return param("thing.name", thing.getName());
   }
 }