pub struct Builder { /* private fields */ }
Expand description
A builder for HyperParameterTuningJobObjective
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: HyperParameterTuningJobObjectiveType) -> Self
pub fn type(self, input: HyperParameterTuningJobObjectiveType) -> Self
Whether to minimize or maximize the objective metric.
sourcepub fn set_type(
self,
input: Option<HyperParameterTuningJobObjectiveType>
) -> Self
pub fn set_type(
self,
input: Option<HyperParameterTuningJobObjectiveType>
) -> Self
Whether to minimize or maximize the objective metric.
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
The name of the metric to use for the objective metric.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
The name of the metric to use for the objective metric.
sourcepub fn build(self) -> HyperParameterTuningJobObjective
pub fn build(self) -> HyperParameterTuningJobObjective
Consumes the builder and constructs a HyperParameterTuningJobObjective
.