public void setCollections(java.util.Collection<CurrentMetricData> collections) {
        if (collections == null) {
            this.collections = null;
            return;
        }

        this.collections = new java.util.ArrayList<CurrentMetricData>(collections);
    }
<p>
The set of metrics.
</p>

@param collections
       The set of metrics.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CurrentMetricResult.java