Struct aws_sdk_sagemaker::model::monitoring_alert_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MonitoringAlertSummary
.
Implementations§
source§impl Builder
impl Builder
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 creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that indicates when a monitor alert was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when a monitor alert was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A timestamp that indicates when a monitor alert was last updated.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when a monitor alert was last updated.
sourcepub fn alert_status(self, input: MonitoringAlertStatus) -> Self
pub fn alert_status(self, input: MonitoringAlertStatus) -> Self
The current status of an alert.
sourcepub fn set_alert_status(self, input: Option<MonitoringAlertStatus>) -> Self
pub fn set_alert_status(self, input: Option<MonitoringAlertStatus>) -> Self
The current status of an 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 actions(self, input: MonitoringAlertActions) -> Self
pub fn actions(self, input: MonitoringAlertActions) -> Self
A list of alert actions taken in response to an alert going into InAlert
status.
sourcepub fn set_actions(self, input: Option<MonitoringAlertActions>) -> Self
pub fn set_actions(self, input: Option<MonitoringAlertActions>) -> Self
A list of alert actions taken in response to an alert going into InAlert
status.
sourcepub fn build(self) -> MonitoringAlertSummary
pub fn build(self) -> MonitoringAlertSummary
Consumes the builder and constructs a MonitoringAlertSummary
.