Struct aws_sdk_sagemaker::model::objective_status_counters::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ObjectiveStatusCounters
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn succeeded(self, input: i32) -> Self
pub fn succeeded(self, input: i32) -> Self
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn set_succeeded(self, input: Option<i32>) -> Self
pub fn set_succeeded(self, input: Option<i32>) -> Self
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn pending(self, input: i32) -> Self
pub fn pending(self, input: i32) -> Self
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn set_pending(self, input: Option<i32>) -> Self
pub fn set_pending(self, input: Option<i32>) -> Self
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn failed(self, input: i32) -> Self
pub fn failed(self, input: i32) -> Self
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn set_failed(self, input: Option<i32>) -> Self
pub fn set_failed(self, input: Option<i32>) -> Self
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn build(self) -> ObjectiveStatusCounters
pub fn build(self) -> ObjectiveStatusCounters
Consumes the builder and constructs a ObjectiveStatusCounters
.