/** * Sets {@link Notification#setSeverity(NotificationSeverity)}. * * @param severity The severity of the notification. * @return The builder. */ public B severity(NotificationSeverity severity) { notification.setSeverity(severity); return self(); }