public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(UtilizationMetric... projectedUtilizationMetrics) {
        if (this.projectedUtilizationMetrics == null) {
            setProjectedUtilizationMetrics(new java.util.ArrayList<UtilizationMetric>(projectedUtilizationMetrics.length));
        }
        for (UtilizationMetric ele : projectedUtilizationMetrics) {
            this.projectedUtilizationMetrics.add(ele);
        }
        return this;
    }
<p>
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
</p>
<note>
<p>
The <code>Cpu</code> and <code>Memory</code> metrics are the only projected utilization metrics returned.
Additionally, the <code>Memory</code> metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see <a
href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent">Enabling Memory Utilization
with the CloudWatch Agent</a>.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProjectedUtilizationMetrics(java.util.Collection)} or
{@link #withProjectedUtilizationMetrics(java.util.Collection)} if you want to override the existing values.
</p>

@param projectedUtilizationMetrics
       An array of objects that describe the projected utilization metrics of the Auto Scaling group
       recommendation option.</p> <note>
       <p>
       The <code>Cpu</code> and <code>Memory</code> metrics are the only projected utilization metrics returned.
       Additionally, the <code>Memory</code> metric is returned only for resources that have the unified
       CloudWatch agent installed on them. For more information, see <a
       href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent">Enabling Memory
       Utilization with the CloudWatch Agent</a>.
       </p>
@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/AutoScalingGroupRecommendationOption.java