public void setErrors(java.util.Collection<BatchDeleteRumMetricDefinitionsError> errors) {
        if (errors == null) {
            this.errors = null;
            return;
        }

        this.errors = new java.util.ArrayList<BatchDeleteRumMetricDefinitionsError>(errors);
    }
<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.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/BatchDeleteRumMetricDefinitionsResult.java