public GetEC2RecommendationProjectedMetricsResult withRecommendedOptionProjectedMetrics(
            RecommendedOptionProjectedMetric... recommendedOptionProjectedMetrics) {
        if (this.recommendedOptionProjectedMetrics == null) {
            setRecommendedOptionProjectedMetrics(new java.util.ArrayList<RecommendedOptionProjectedMetric>(recommendedOptionProjectedMetrics.length));
        }
        for (RecommendedOptionProjectedMetric ele : recommendedOptionProjectedMetrics) {
            this.recommendedOptionProjectedMetrics.add(ele);
        }
        return this;
    }
<p>
An array of objects that describes projected metrics.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRecommendedOptionProjectedMetrics(java.util.Collection)} or
{@link #withRecommendedOptionProjectedMetrics(java.util.Collection)} if you want to override the existing values.
</p>

@param recommendedOptionProjectedMetrics
       An array of objects that describes projected metrics.
@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/GetEC2RecommendationProjectedMetricsResult.java