Interface MetricDefinition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MetricDefinition.Builder,MetricDefinition>, SdkBuilder<MetricDefinition.Builder,MetricDefinition>, SdkPojo
Enclosing class:
MetricDefinition

public static interface MetricDefinition.Builder extends SdkPojo, CopyableBuilder<MetricDefinition.Builder,MetricDefinition>
  • Method Details

    • name

      The name of the metric.

      Parameters:
      name - The name of the metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regex

      A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.

      Parameters:
      regex - A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.