public MetricSpecification getMetricSpecification() {
        return this.metricSpecification;
    }
<p>
An object containing information about a metric.
</p>

@return An object containing information about a metric.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/TargetTrackingScalingPolicyConfiguration.java