public Metrics withWeightedQuantileLosses(WeightedQuantileLoss... weightedQuantileLosses) {
        if (this.weightedQuantileLosses == null) {
            setWeightedQuantileLosses(new java.util.ArrayList<WeightedQuantileLoss>(weightedQuantileLosses.length));
        }
        for (WeightedQuantileLoss ele : weightedQuantileLosses) {
            this.weightedQuantileLosses.add(ele);
        }
        return this;
    }
<p>
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal
probability. The distribution in this case is the loss function.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWeightedQuantileLosses(java.util.Collection)} or
{@link #withWeightedQuantileLosses(java.util.Collection)} if you want to override the existing values.
</p>

@param weightedQuantileLosses
       An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal
       probability. The distribution in this case is the loss function.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/Metrics.java