public CurrentMetricResult withCollections(java.util.Collection<CurrentMetricData> collections) {
        setCollections(collections);
        return this;
    }
<p>
The set of metrics.
</p>

@param collections
       The set of metrics.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CurrentMetricResult.java