public GetMonitorResult withResources(java.util.Collection<String> resources) {
        setResources(resources);
        return this;
    }
<p>
The resources monitored by the monitor. Resources are listed by their Amazon Resource Names (ARNs).
</p>

@param resources
       The resources monitored by the monitor. Resources are listed by their Amazon Resource Names (ARNs).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/model/GetMonitorResult.java