Struct aws_sdk_sagemaker::types::builders::ResourceLimitsBuilder
source · #[non_exhaustive]pub struct ResourceLimitsBuilder { /* private fields */ }
Expand description
A builder for ResourceLimits
.
Implementations§
source§impl ResourceLimitsBuilder
impl ResourceLimitsBuilder
sourcepub fn max_number_of_training_jobs(self, input: i32) -> Self
pub fn max_number_of_training_jobs(self, input: i32) -> Self
The maximum number of training jobs that a hyperparameter tuning job can launch.
sourcepub fn set_max_number_of_training_jobs(self, input: Option<i32>) -> Self
pub fn set_max_number_of_training_jobs(self, input: Option<i32>) -> Self
The maximum number of training jobs that a hyperparameter tuning job can launch.
sourcepub fn get_max_number_of_training_jobs(&self) -> &Option<i32>
pub fn get_max_number_of_training_jobs(&self) -> &Option<i32>
The maximum number of training jobs that a hyperparameter tuning job can launch.
sourcepub fn max_parallel_training_jobs(self, input: i32) -> Self
pub fn max_parallel_training_jobs(self, input: i32) -> Self
The maximum number of concurrent training jobs that a hyperparameter tuning job can launch.
This field is required.sourcepub fn set_max_parallel_training_jobs(self, input: Option<i32>) -> Self
pub fn set_max_parallel_training_jobs(self, input: Option<i32>) -> Self
The maximum number of concurrent training jobs that a hyperparameter tuning job can launch.
sourcepub fn get_max_parallel_training_jobs(&self) -> &Option<i32>
pub fn get_max_parallel_training_jobs(&self) -> &Option<i32>
The maximum number of concurrent training jobs that a hyperparameter tuning job can launch.
sourcepub fn max_runtime_in_seconds(self, input: i32) -> Self
pub fn max_runtime_in_seconds(self, input: i32) -> Self
The maximum time in seconds that a hyperparameter tuning job can run.
sourcepub fn set_max_runtime_in_seconds(self, input: Option<i32>) -> Self
pub fn set_max_runtime_in_seconds(self, input: Option<i32>) -> Self
The maximum time in seconds that a hyperparameter tuning job can run.
sourcepub fn get_max_runtime_in_seconds(&self) -> &Option<i32>
pub fn get_max_runtime_in_seconds(&self) -> &Option<i32>
The maximum time in seconds that a hyperparameter tuning job can run.
sourcepub fn build(self) -> ResourceLimits
pub fn build(self) -> ResourceLimits
Consumes the builder and constructs a ResourceLimits
.
Trait Implementations§
source§impl Clone for ResourceLimitsBuilder
impl Clone for ResourceLimitsBuilder
source§fn clone(&self) -> ResourceLimitsBuilder
fn clone(&self) -> ResourceLimitsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceLimitsBuilder
impl Debug for ResourceLimitsBuilder
source§impl Default for ResourceLimitsBuilder
impl Default for ResourceLimitsBuilder
source§fn default() -> ResourceLimitsBuilder
fn default() -> ResourceLimitsBuilder
source§impl PartialEq for ResourceLimitsBuilder
impl PartialEq for ResourceLimitsBuilder
source§fn eq(&self, other: &ResourceLimitsBuilder) -> bool
fn eq(&self, other: &ResourceLimitsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceLimitsBuilder
Auto Trait Implementations§
impl Freeze for ResourceLimitsBuilder
impl RefUnwindSafe for ResourceLimitsBuilder
impl Send for ResourceLimitsBuilder
impl Sync for ResourceLimitsBuilder
impl Unpin for ResourceLimitsBuilder
impl UnwindSafe for ResourceLimitsBuilder
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