public NotificationSettingDetail withEvent(String event) {
        setEvent(event);
        return this;
    }
<p>
The event to which this notification setting is applied.
</p>

@param event
       The event to which this notification setting is applied.
@return Returns a reference to this object so that method calls can be chained together.
@see NotificationEvent
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/NotificationSettingDetail.java