/** * <p> * Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. * You must specify either the Notification parameter or the Active parameter for the call to * UpdateNotificationSettings to succeed. * </p> * * @param active * Specifies whether notifications are sent for HITs of this HIT type, according to the notification * specification. You must specify either the Notification parameter or the Active parameter for the call to * UpdateNotificationSettings to succeed. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateNotificationSettingsRequest withActive(Boolean active) { setActive(active); return this; }