#[non_exhaustive]pub struct HpoResourceConfigBuilder { /* private fields */ }Expand description
A builder for HpoResourceConfig.
Implementations§
source§impl HpoResourceConfigBuilder
impl HpoResourceConfigBuilder
sourcepub fn max_number_of_training_jobs(self, input: impl Into<String>) -> Self
pub fn max_number_of_training_jobs(self, input: impl Into<String>) -> Self
The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
sourcepub fn set_max_number_of_training_jobs(self, input: Option<String>) -> Self
pub fn set_max_number_of_training_jobs(self, input: Option<String>) -> Self
The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
sourcepub fn get_max_number_of_training_jobs(&self) -> &Option<String>
pub fn get_max_number_of_training_jobs(&self) -> &Option<String>
The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
sourcepub fn max_parallel_training_jobs(self, input: impl Into<String>) -> Self
pub fn max_parallel_training_jobs(self, input: impl Into<String>) -> Self
The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
sourcepub fn set_max_parallel_training_jobs(self, input: Option<String>) -> Self
pub fn set_max_parallel_training_jobs(self, input: Option<String>) -> Self
The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
sourcepub fn get_max_parallel_training_jobs(&self) -> &Option<String>
pub fn get_max_parallel_training_jobs(&self) -> &Option<String>
The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
sourcepub fn build(self) -> HpoResourceConfig
pub fn build(self) -> HpoResourceConfig
Consumes the builder and constructs a HpoResourceConfig.
Trait Implementations§
source§impl Clone for HpoResourceConfigBuilder
impl Clone for HpoResourceConfigBuilder
source§fn clone(&self) -> HpoResourceConfigBuilder
fn clone(&self) -> HpoResourceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HpoResourceConfigBuilder
impl Debug for HpoResourceConfigBuilder
source§impl Default for HpoResourceConfigBuilder
impl Default for HpoResourceConfigBuilder
source§fn default() -> HpoResourceConfigBuilder
fn default() -> HpoResourceConfigBuilder
source§impl PartialEq for HpoResourceConfigBuilder
impl PartialEq for HpoResourceConfigBuilder
source§fn eq(&self, other: &HpoResourceConfigBuilder) -> bool
fn eq(&self, other: &HpoResourceConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HpoResourceConfigBuilder
Auto Trait Implementations§
impl Freeze for HpoResourceConfigBuilder
impl RefUnwindSafe for HpoResourceConfigBuilder
impl Send for HpoResourceConfigBuilder
impl Sync for HpoResourceConfigBuilder
impl Unpin for HpoResourceConfigBuilder
impl UnwindSafe for HpoResourceConfigBuilder
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> 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