public Environment withMonitors(java.util.Collection<Monitor> monitors) {
        setMonitors(monitors);
        return this;
    }
<p>
Amazon CloudWatch alarms monitored during the deployment.
</p>

@param monitors
       Amazon CloudWatch alarms monitored during the deployment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appconfig/src/main/java/com/amazonaws/services/appconfig/model/Environment.java