public ServiceLevelIndicatorMetric withMetricDataQueries(MetricDataQuery... metricDataQueries) {
        if (this.metricDataQueries == null) {
            setMetricDataQueries(new java.util.ArrayList<MetricDataQuery>(metricDataQueries.length));
        }
        for (MetricDataQuery ele : metricDataQueries) {
            this.metricDataQueries.add(ele);
        }
        return this;
    }
<p>
If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure
includes the information about that metric or expression.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMetricDataQueries(java.util.Collection)} or {@link #withMetricDataQueries(java.util.Collection)} if
you want to override the existing values.
</p>

@param metricDataQueries
       If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this
       structure includes the information about that metric or expression.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/ServiceLevelIndicatorMetric.java