public void setMetricDefinition(MetricDefinitionRequest metricDefinition) {
        this.metricDefinition = metricDefinition;
    }
<p>
The metric definition that caused this error.
</p>

@param metricDefinition
       The metric definition that caused this error.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/BatchCreateRumMetricDefinitionsError.java