Struct aws_sdk_sagemaker::model::metric_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MetricDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn regex(self, input: impl Into<String>) -> Self
pub fn regex(self, input: impl Into<String>) -> Self
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 Objective Metrics.
sourcepub fn set_regex(self, input: Option<String>) -> Self
pub fn set_regex(self, input: Option<String>) -> Self
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 Objective Metrics.
sourcepub fn build(self) -> MetricDefinition
pub fn build(self) -> MetricDefinition
Consumes the builder and constructs a MetricDefinition
.