public MetricTransformation withMetricValue(String metricValue) {
        setMetricValue(metricValue);
        return this;
    }
<p>
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
</p>

@param metricValue
       The value to publish to the CloudWatch metric when a filter pattern matches a log event.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/MetricTransformation.java