public UpdateApplicationRequest withCWEMonitorEnabled(Boolean cWEMonitorEnabled) {
        setCWEMonitorEnabled(cWEMonitorEnabled);
        return this;
    }
<p>
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
<code>instance terminated</code>, <code>failed deployment</code>, and others.
</p>

@param cWEMonitorEnabled
       Indicates whether Application Insights can listen to CloudWatch events for the application resources, such
       as <code>instance terminated</code>, <code>failed deployment</code>, and others.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/UpdateApplicationRequest.java