public void setMonitors(java.util.Collection<Monitor> monitors) {
        if (monitors == null) {
            this.monitors = null;
            return;
        }

        this.monitors = new java.util.ArrayList<Monitor>(monitors);
    }
<p>
A list of monitors.
</p>

@param monitors
       A list of monitors.
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/model/ListMonitorsResult.java