public GetAppMonitorResult withAppMonitor(AppMonitor appMonitor) {
        setAppMonitor(appMonitor);
        return this;
    }
<p>
A structure containing all the configuration information for the app monitor.
</p>

@param appMonitor
       A structure containing all the configuration information for the app monitor.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/GetAppMonitorResult.java