public ECSServiceRecommendedOptionProjectedMetric withProjectedMetrics(java.util.Collection<ECSServiceProjectedMetric> projectedMetrics) {
        setProjectedMetrics(projectedMetrics);
        return this;
    }
<p>
An array of objects that describe the projected metric.
</p>

@param projectedMetrics
       An array of objects that describe the projected metric.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/ECSServiceRecommendedOptionProjectedMetric.java