#[non_exhaustive]pub struct ModelDeploymentMonitoringScheduleConfig {
pub monitor_interval: Option<Duration>,
pub monitor_window: Option<Duration>,
/* private fields */
}Expand description
The config for scheduling monitoring job.
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.monitor_interval: Option<Duration>Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.
monitor_window: Option<Duration>The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.
Implementations§
Source§impl ModelDeploymentMonitoringScheduleConfig
impl ModelDeploymentMonitoringScheduleConfig
pub fn new() -> Self
Sourcepub fn set_monitor_interval<T: Into<Option<Duration>>>(self, v: T) -> Self
pub fn set_monitor_interval<T: Into<Option<Duration>>>(self, v: T) -> Self
Sets the value of monitor_interval.
Sourcepub fn set_monitor_window<T: Into<Option<Duration>>>(self, v: T) -> Self
pub fn set_monitor_window<T: Into<Option<Duration>>>(self, v: T) -> Self
Sets the value of monitor_window.
Trait Implementations§
Source§impl Clone for ModelDeploymentMonitoringScheduleConfig
impl Clone for ModelDeploymentMonitoringScheduleConfig
Source§fn clone(&self) -> ModelDeploymentMonitoringScheduleConfig
fn clone(&self) -> ModelDeploymentMonitoringScheduleConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ModelDeploymentMonitoringScheduleConfig
impl Default for ModelDeploymentMonitoringScheduleConfig
Source§fn default() -> ModelDeploymentMonitoringScheduleConfig
fn default() -> ModelDeploymentMonitoringScheduleConfig
Source§impl<'de> Deserialize<'de> for ModelDeploymentMonitoringScheduleConfig
impl<'de> Deserialize<'de> for ModelDeploymentMonitoringScheduleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ModelDeploymentMonitoringScheduleConfig
impl PartialEq for ModelDeploymentMonitoringScheduleConfig
Source§fn eq(&self, other: &ModelDeploymentMonitoringScheduleConfig) -> bool
fn eq(&self, other: &ModelDeploymentMonitoringScheduleConfig) -> bool
self and other values to be equal, and is used by ==.