#[non_exhaustive]pub struct TrainingJobStatusCountersBuilder { /* private fields */ }
Expand description
A builder for TrainingJobStatusCounters
.
Implementations§
source§impl TrainingJobStatusCountersBuilder
impl TrainingJobStatusCountersBuilder
sourcepub fn completed(self, input: i32) -> Self
pub fn completed(self, input: i32) -> Self
The number of completed training jobs launched by the hyperparameter tuning job.
sourcepub fn set_completed(self, input: Option<i32>) -> Self
pub fn set_completed(self, input: Option<i32>) -> Self
The number of completed training jobs launched by the hyperparameter tuning job.
sourcepub fn get_completed(&self) -> &Option<i32>
pub fn get_completed(&self) -> &Option<i32>
The number of completed training jobs launched by the hyperparameter tuning job.
sourcepub fn in_progress(self, input: i32) -> Self
pub fn in_progress(self, input: i32) -> Self
The number of in-progress training jobs launched by a hyperparameter tuning job.
sourcepub fn set_in_progress(self, input: Option<i32>) -> Self
pub fn set_in_progress(self, input: Option<i32>) -> Self
The number of in-progress training jobs launched by a hyperparameter tuning job.
sourcepub fn get_in_progress(&self) -> &Option<i32>
pub fn get_in_progress(&self) -> &Option<i32>
The number of in-progress training jobs launched by a hyperparameter tuning job.
sourcepub fn retryable_error(self, input: i32) -> Self
pub fn retryable_error(self, input: i32) -> Self
The number of training jobs that failed, but can be retried. A failed training job can be retried only if it failed because an internal service error occurred.
sourcepub fn set_retryable_error(self, input: Option<i32>) -> Self
pub fn set_retryable_error(self, input: Option<i32>) -> Self
The number of training jobs that failed, but can be retried. A failed training job can be retried only if it failed because an internal service error occurred.
sourcepub fn get_retryable_error(&self) -> &Option<i32>
pub fn get_retryable_error(&self) -> &Option<i32>
The number of training jobs that failed, but can be retried. A failed training job can be retried only if it failed because an internal service error occurred.
sourcepub fn non_retryable_error(self, input: i32) -> Self
pub fn non_retryable_error(self, input: i32) -> Self
The number of training jobs that failed and can't be retried. A failed training job can't be retried if it failed because a client error occurred.
sourcepub fn set_non_retryable_error(self, input: Option<i32>) -> Self
pub fn set_non_retryable_error(self, input: Option<i32>) -> Self
The number of training jobs that failed and can't be retried. A failed training job can't be retried if it failed because a client error occurred.
sourcepub fn get_non_retryable_error(&self) -> &Option<i32>
pub fn get_non_retryable_error(&self) -> &Option<i32>
The number of training jobs that failed and can't be retried. A failed training job can't be retried if it failed because a client error occurred.
sourcepub fn stopped(self, input: i32) -> Self
pub fn stopped(self, input: i32) -> Self
The number of training jobs launched by a hyperparameter tuning job that were manually stopped.
sourcepub fn set_stopped(self, input: Option<i32>) -> Self
pub fn set_stopped(self, input: Option<i32>) -> Self
The number of training jobs launched by a hyperparameter tuning job that were manually stopped.
sourcepub fn get_stopped(&self) -> &Option<i32>
pub fn get_stopped(&self) -> &Option<i32>
The number of training jobs launched by a hyperparameter tuning job that were manually stopped.
sourcepub fn build(self) -> TrainingJobStatusCounters
pub fn build(self) -> TrainingJobStatusCounters
Consumes the builder and constructs a TrainingJobStatusCounters
.
Trait Implementations§
source§impl Clone for TrainingJobStatusCountersBuilder
impl Clone for TrainingJobStatusCountersBuilder
source§fn clone(&self) -> TrainingJobStatusCountersBuilder
fn clone(&self) -> TrainingJobStatusCountersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TrainingJobStatusCountersBuilder
impl Default for TrainingJobStatusCountersBuilder
source§fn default() -> TrainingJobStatusCountersBuilder
fn default() -> TrainingJobStatusCountersBuilder
source§impl PartialEq for TrainingJobStatusCountersBuilder
impl PartialEq for TrainingJobStatusCountersBuilder
source§fn eq(&self, other: &TrainingJobStatusCountersBuilder) -> bool
fn eq(&self, other: &TrainingJobStatusCountersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrainingJobStatusCountersBuilder
Auto Trait Implementations§
impl Freeze for TrainingJobStatusCountersBuilder
impl RefUnwindSafe for TrainingJobStatusCountersBuilder
impl Send for TrainingJobStatusCountersBuilder
impl Sync for TrainingJobStatusCountersBuilder
impl Unpin for TrainingJobStatusCountersBuilder
impl UnwindSafe for TrainingJobStatusCountersBuilder
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