public UpdateRumMetricDefinitionRequest withMetricDefinition(MetricDefinitionRequest metricDefinition) {
        setMetricDefinition(metricDefinition);
        return this;
    }
<p>
A structure that contains the new definition that you want to use for this metric.
</p>

@param metricDefinition
       A structure that contains the new definition that you want to use for this metric.
@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/UpdateRumMetricDefinitionRequest.java