public void setMetricDefinitions(java.util.Collection<MetricDefinitionRequest> metricDefinitions) {
        if (metricDefinitions == null) {
            this.metricDefinitions = null;
            return;
        }

        this.metricDefinitions = new java.util.ArrayList<MetricDefinitionRequest>(metricDefinitions);
    }
<p>
An array of structures which define the metrics that you want to send.
</p>

@param metricDefinitions
       An array of structures which define the metrics that you want to send.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/BatchCreateRumMetricDefinitionsRequest.java