Struct aws_sdk_sagemaker::operation::update_monitoring_alert::builders::UpdateMonitoringAlertInputBuilder
source · #[non_exhaustive]pub struct UpdateMonitoringAlertInputBuilder { /* private fields */ }
Expand description
A builder for UpdateMonitoringAlertInput
.
Implementations§
source§impl UpdateMonitoringAlertInputBuilder
impl UpdateMonitoringAlertInputBuilder
sourcepub fn monitoring_schedule_name(self, input: impl Into<String>) -> Self
pub fn monitoring_schedule_name(self, input: impl Into<String>) -> Self
The name of a monitoring schedule.
sourcepub fn set_monitoring_schedule_name(self, input: Option<String>) -> Self
pub fn set_monitoring_schedule_name(self, input: Option<String>) -> Self
The name of a monitoring schedule.
sourcepub fn monitoring_alert_name(self, input: impl Into<String>) -> Self
pub fn monitoring_alert_name(self, input: impl Into<String>) -> Self
The name of a monitoring alert.
sourcepub fn set_monitoring_alert_name(self, input: Option<String>) -> Self
pub fn set_monitoring_alert_name(self, input: Option<String>) -> Self
The name of a monitoring alert.
sourcepub fn datapoints_to_alert(self, input: i32) -> Self
pub fn datapoints_to_alert(self, input: i32) -> Self
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn set_datapoints_to_alert(self, input: Option<i32>) -> Self
pub fn set_datapoints_to_alert(self, input: Option<i32>) -> Self
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn evaluation_period(self, input: i32) -> Self
pub fn evaluation_period(self, input: i32) -> Self
The number of most recent monitoring executions to consider when evaluating alert status.
sourcepub fn set_evaluation_period(self, input: Option<i32>) -> Self
pub fn set_evaluation_period(self, input: Option<i32>) -> Self
The number of most recent monitoring executions to consider when evaluating alert status.
sourcepub fn build(self) -> Result<UpdateMonitoringAlertInput, BuildError>
pub fn build(self) -> Result<UpdateMonitoringAlertInput, BuildError>
Consumes the builder and constructs a UpdateMonitoringAlertInput
.
Trait Implementations§
source§impl Clone for UpdateMonitoringAlertInputBuilder
impl Clone for UpdateMonitoringAlertInputBuilder
source§fn clone(&self) -> UpdateMonitoringAlertInputBuilder
fn clone(&self) -> UpdateMonitoringAlertInputBuilder
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 Default for UpdateMonitoringAlertInputBuilder
impl Default for UpdateMonitoringAlertInputBuilder
source§fn default() -> UpdateMonitoringAlertInputBuilder
fn default() -> UpdateMonitoringAlertInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateMonitoringAlertInputBuilder> for UpdateMonitoringAlertInputBuilder
impl PartialEq<UpdateMonitoringAlertInputBuilder> for UpdateMonitoringAlertInputBuilder
source§fn eq(&self, other: &UpdateMonitoringAlertInputBuilder) -> bool
fn eq(&self, other: &UpdateMonitoringAlertInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateMonitoringAlertInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateMonitoringAlertInputBuilder
impl Send for UpdateMonitoringAlertInputBuilder
impl Sync for UpdateMonitoringAlertInputBuilder
impl Unpin for UpdateMonitoringAlertInputBuilder
impl UnwindSafe for UpdateMonitoringAlertInputBuilder
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