#[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
impl StructuralPartialEq for TrainingJobSummaryBuilder
Auto Trait Implementations§
impl Freeze for TrainingJobSummaryBuilder
impl RefUnwindSafe for TrainingJobSummaryBuilder
impl Send for TrainingJobSummaryBuilder
impl Sync for TrainingJobSummaryBuilder
impl Unpin for TrainingJobSummaryBuilder
impl UnwindSafe for TrainingJobSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more