public BatchDeleteRumMetricDefinitionsResult withErrors(java.util.Collection<BatchDeleteRumMetricDefinitionsError> errors) {
        setErrors(errors);
        return this;
    }
<p>
An array of error objects, if the operation caused any errors.
</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