Struct aws_sdk_personalize::types::HpoResourceConfig
source · #[non_exhaustive]pub struct HpoResourceConfig {
pub max_number_of_training_jobs: Option<String>,
pub max_parallel_training_jobs: Option<String>,
}
Expand description
Describes the resource configuration for hyperparameter optimization (HPO).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_number_of_training_jobs: Option<String>
The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs
is 40
.
max_parallel_training_jobs: Option<String>
The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs
is 10
.
Implementations§
source§impl HpoResourceConfig
impl HpoResourceConfig
sourcepub fn max_number_of_training_jobs(&self) -> Option<&str>
pub fn max_number_of_training_jobs(&self) -> Option<&str>
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) -> Option<&str>
pub fn max_parallel_training_jobs(&self) -> Option<&str>
The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs
is 10
.
source§impl HpoResourceConfig
impl HpoResourceConfig
sourcepub fn builder() -> HpoResourceConfigBuilder
pub fn builder() -> HpoResourceConfigBuilder
Creates a new builder-style object to manufacture HpoResourceConfig
.
Trait Implementations§
source§impl Clone for HpoResourceConfig
impl Clone for HpoResourceConfig
source§fn clone(&self) -> HpoResourceConfig
fn clone(&self) -> HpoResourceConfig
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 HpoResourceConfig
impl Debug for HpoResourceConfig
source§impl PartialEq for HpoResourceConfig
impl PartialEq for HpoResourceConfig
source§fn eq(&self, other: &HpoResourceConfig) -> bool
fn eq(&self, other: &HpoResourceConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HpoResourceConfig
Auto Trait Implementations§
impl Freeze for HpoResourceConfig
impl RefUnwindSafe for HpoResourceConfig
impl Send for HpoResourceConfig
impl Sync for HpoResourceConfig
impl Unpin for HpoResourceConfig
impl UnwindSafe for HpoResourceConfig
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
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>
Creates a shared type from an unshared type.