public CreateAppRequest withEventSubscriptions(java.util.Collection<EventSubscription> eventSubscriptions) {
        setEventSubscriptions(eventSubscriptions);
        return this;
    }
<p>
The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports only
<b>Drift detected</b> and <b>Scheduled assessment failure</b> events notification.
</p>

@param eventSubscriptions
       The list of events you would like to subscribe and get notification for. Currently, Resilience Hub
       supports only <b>Drift detected</b> and <b>Scheduled assessment failure</b> events notification.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/CreateAppRequest.java