public void setProjectedMetrics(java.util.Collection<ECSServiceProjectedMetric> projectedMetrics) {
        if (projectedMetrics == null) {
            this.projectedMetrics = null;
            return;
        }

        this.projectedMetrics = new java.util.ArrayList<ECSServiceProjectedMetric>(projectedMetrics);
    }
<p>
An array of objects that describe the projected metric.
</p>

@param projectedMetrics
       An array of objects that describe the projected metric.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/ECSServiceRecommendedOptionProjectedMetric.java