public MetricDefinition withMetricDefinitionId(String metricDefinitionId) {
        setMetricDefinitionId(metricDefinitionId);
        return this;
    }
<p>
The ID of this metric definition.
</p>

@param metricDefinitionId
       The ID of this metric definition.
@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/MetricDefinition.java