public java.util.List<MetricDefinition> getMetricDefinitions() {
        return metricDefinitions;
    }
<p>
A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse
algorithm logs. SageMaker publishes each metric to Amazon CloudWatch.
</p>

@return A list of metric definition objects. Each object specifies the metric name and regular expressions used
        to parse algorithm logs. SageMaker publishes each metric to Amazon CloudWatch.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/AlgorithmSpecification.java