Struct aws_sdk_sagemaker::model::training_job_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TrainingJobSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn training_job_name(self, input: impl Into<String>) -> Self
pub fn training_job_name(self, input: impl Into<String>) -> Self
The name of the training job that you want a summary for.
sourcepub fn set_training_job_name(self, input: Option<String>) -> Self
pub fn set_training_job_name(self, input: Option<String>) -> Self
The name of the training job that you want a summary for.
sourcepub fn training_job_arn(self, input: impl Into<String>) -> Self
pub fn training_job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the training job.
sourcepub fn set_training_job_arn(self, input: Option<String>) -> Self
pub fn set_training_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the training job.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that shows when the training job was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the training job was created.
sourcepub fn training_end_time(self, input: DateTime) -> Self
pub fn training_end_time(self, input: DateTime) -> Self
A timestamp that shows when the training job ended. This field is set only if the training job has one of the terminal statuses (Completed
, Failed
, or Stopped
).
sourcepub fn set_training_end_time(self, input: Option<DateTime>) -> Self
pub fn set_training_end_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the training job ended. This field is set only if the training job has one of the terminal statuses (Completed
, Failed
, or Stopped
).
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
Timestamp when the training job was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
Timestamp when the training job was last modified.
sourcepub fn training_job_status(self, input: TrainingJobStatus) -> Self
pub fn training_job_status(self, input: TrainingJobStatus) -> Self
The status of the training job.
sourcepub fn set_training_job_status(self, input: Option<TrainingJobStatus>) -> Self
pub fn set_training_job_status(self, input: Option<TrainingJobStatus>) -> Self
The status of the training job.
sourcepub fn warm_pool_status(self, input: WarmPoolStatus) -> Self
pub fn warm_pool_status(self, input: WarmPoolStatus) -> Self
The status of the warm pool associated with the training job.
sourcepub fn set_warm_pool_status(self, input: Option<WarmPoolStatus>) -> Self
pub fn set_warm_pool_status(self, input: Option<WarmPoolStatus>) -> Self
The status of the warm pool associated with the training job.
sourcepub fn build(self) -> TrainingJobSummary
pub fn build(self) -> TrainingJobSummary
Consumes the builder and constructs a TrainingJobSummary
.