#[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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<HpoResourceConfigBuilder> for HpoResourceConfigBuilder
impl PartialEq<HpoResourceConfigBuilder> for HpoResourceConfigBuilder
source§fn eq(&self, other: &HpoResourceConfigBuilder) -> bool
fn eq(&self, other: &HpoResourceConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HpoResourceConfigBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more