Interface MetricDefinition
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricDefinition.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.118Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMetricDefinition
static final class
An 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.Builder
ofMetricDefinition
-