#[non_exhaustive]pub struct TrainingJobSummaryBuilder { /* private fields */ }
Expand description
A builder for TrainingJobSummary
.
Implementations§
source§impl TrainingJobSummaryBuilder
impl TrainingJobSummaryBuilder
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.
This field is required.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 get_training_job_name(&self) -> &Option<String>
pub fn get_training_job_name(&self) -> &Option<String>
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.
This field is required.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 get_training_job_arn(&self) -> &Option<String>
pub fn get_training_job_arn(&self) -> &Option<String>
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.
This field is required.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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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 get_training_end_time(&self) -> &Option<DateTime>
pub fn get_training_end_time(&self) -> &Option<DateTime>
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 get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
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.
This field is required.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 get_training_job_status(&self) -> &Option<TrainingJobStatus>
pub fn get_training_job_status(&self) -> &Option<TrainingJobStatus>
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 get_warm_pool_status(&self) -> &Option<WarmPoolStatus>
pub fn get_warm_pool_status(&self) -> &Option<WarmPoolStatus>
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
.
Trait Implementations§
source§impl Clone for TrainingJobSummaryBuilder
impl Clone for TrainingJobSummaryBuilder
source§fn clone(&self) -> TrainingJobSummaryBuilder
fn clone(&self) -> TrainingJobSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrainingJobSummaryBuilder
impl Debug for TrainingJobSummaryBuilder
source§impl Default for TrainingJobSummaryBuilder
impl Default for TrainingJobSummaryBuilder
source§fn default() -> TrainingJobSummaryBuilder
fn default() -> TrainingJobSummaryBuilder
source§impl PartialEq for TrainingJobSummaryBuilder
impl PartialEq for TrainingJobSummaryBuilder
source§fn eq(&self, other: &TrainingJobSummaryBuilder) -> bool
fn eq(&self, other: &TrainingJobSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.