Struct aws_sdk_personalize::types::AutoTrainingConfig
source · #[non_exhaustive]pub struct AutoTrainingConfig {
pub scheduling_expression: Option<String>,
}Expand description
The automatic training configuration to use when performAutoTraining is true.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scheduling_expression: Option<String>Specifies how often to automatically train new solution versions. Specify a rate expression in rate(value unit) format. For value, specify a number between 1 and 30. For unit, specify day or days. For example, to automatically create a new solution version every 5 days, specify rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
Implementations§
source§impl AutoTrainingConfig
impl AutoTrainingConfig
sourcepub fn scheduling_expression(&self) -> Option<&str>
pub fn scheduling_expression(&self) -> Option<&str>
Specifies how often to automatically train new solution versions. Specify a rate expression in rate(value unit) format. For value, specify a number between 1 and 30. For unit, specify day or days. For example, to automatically create a new solution version every 5 days, specify rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
source§impl AutoTrainingConfig
impl AutoTrainingConfig
sourcepub fn builder() -> AutoTrainingConfigBuilder
pub fn builder() -> AutoTrainingConfigBuilder
Creates a new builder-style object to manufacture AutoTrainingConfig.
Trait Implementations§
source§impl Clone for AutoTrainingConfig
impl Clone for AutoTrainingConfig
source§fn clone(&self) -> AutoTrainingConfig
fn clone(&self) -> AutoTrainingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AutoTrainingConfig
impl Debug for AutoTrainingConfig
source§impl PartialEq for AutoTrainingConfig
impl PartialEq for AutoTrainingConfig
source§fn eq(&self, other: &AutoTrainingConfig) -> bool
fn eq(&self, other: &AutoTrainingConfig) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AutoTrainingConfig
Auto Trait Implementations§
impl Freeze for AutoTrainingConfig
impl RefUnwindSafe for AutoTrainingConfig
impl Send for AutoTrainingConfig
impl Sync for AutoTrainingConfig
impl Unpin for AutoTrainingConfig
impl UnwindSafe for AutoTrainingConfig
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