Interface MetricDefinition
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricDefinition.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:51.618Z")
@Stability(Stable)
public interface MetricDefinition
extends software.amazon.jsii.JsiiSerializable
Specifies the metric name and regular expressions used to parse algorithm logs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.tasks.*;
MetricDefinition metricDefinition = MetricDefinition.builder()
.name("name")
.regex("regex")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMetricDefinitionstatic final classAn implementation forMetricDefinition -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Name of the metric. -
getRegex
Regular expression that searches the output of a training job and gets the value of the metric. -
builder
- Returns:
- a
MetricDefinition.BuilderofMetricDefinition
-