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 get_monitoring_schedule_name(&self) -> &Option<String>
pub fn get_monitoring_schedule_name(&self) -> &Option<String>
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 get_monitoring_alert_name(&self) -> &Option<String>
pub fn get_monitoring_alert_name(&self) -> &Option<String>
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 get_datapoints_to_alert(&self) -> &Option<i32>
pub fn get_datapoints_to_alert(&self) -> &Option<i32>
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 get_evaluation_period(&self) -> &Option<i32>
pub fn get_evaluation_period(&self) -> &Option<i32>
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
.
source§impl UpdateMonitoringAlertInputBuilder
impl UpdateMonitoringAlertInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateMonitoringAlertInputBuilder
impl Clone for UpdateMonitoringAlertInputBuilder
source§fn clone(&self) -> UpdateMonitoringAlertInputBuilder
fn clone(&self) -> UpdateMonitoringAlertInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateMonitoringAlertInputBuilder
impl Default for UpdateMonitoringAlertInputBuilder
source§fn default() -> UpdateMonitoringAlertInputBuilder
fn default() -> UpdateMonitoringAlertInputBuilder
source§impl PartialEq<UpdateMonitoringAlertInputBuilder> for UpdateMonitoringAlertInputBuilder
impl PartialEq<UpdateMonitoringAlertInputBuilder> for UpdateMonitoringAlertInputBuilder
source§fn eq(&self, other: &UpdateMonitoringAlertInputBuilder) -> bool
fn eq(&self, other: &UpdateMonitoringAlertInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.