Struct aws_sdk_sagemaker::operation::update_monitoring_alert::builders::UpdateMonitoringAlertFluentBuilder
source · pub struct UpdateMonitoringAlertFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateMonitoringAlert
.
Update the parameters of a model monitor alert.
Implementations§
source§impl UpdateMonitoringAlertFluentBuilder
impl UpdateMonitoringAlertFluentBuilder
sourcepub fn as_input(&self) -> &UpdateMonitoringAlertInputBuilder
pub fn as_input(&self) -> &UpdateMonitoringAlertInputBuilder
Access the UpdateMonitoringAlert as a reference.
sourcepub async fn send(
self
) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateMonitoringAlertOutput, SdkError<UpdateMonitoringAlertError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateMonitoringAlertOutput, UpdateMonitoringAlertError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateMonitoringAlertOutput, UpdateMonitoringAlertError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for UpdateMonitoringAlertFluentBuilder
impl Clone for UpdateMonitoringAlertFluentBuilder
source§fn clone(&self) -> UpdateMonitoringAlertFluentBuilder
fn clone(&self) -> UpdateMonitoringAlertFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more