public String getMetricRegex() {
        return this.metricRegex;
    }
<p>
A regular expression for finding the metric in the training job logs.
</p>

@return A regular expression for finding the metric in the training job logs.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/HPOObjective.java