public BatchDeleteRumMetricDefinitionsResult withErrors(BatchDeleteRumMetricDefinitionsError... errors) {
        if (this.errors == null) {
            setErrors(new java.util.ArrayList<BatchDeleteRumMetricDefinitionsError>(errors.length));
        }
        for (BatchDeleteRumMetricDefinitionsError ele : errors) {
            this.errors.add(ele);
        }
        return this;
    }
<p>
An array of error objects, if the operation caused any errors.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the
existing values.
</p>

@param errors
       An array of error objects, if the operation caused any errors.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/BatchDeleteRumMetricDefinitionsResult.java