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.
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<ResourceLimitsBuilder> for ResourceLimitsBuilder
impl PartialEq<ResourceLimitsBuilder> 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 ==
.