pub struct Builder { /* private fields */ }
Expand description
A builder for MonitoringAlertHistorySummary
.
Implementations§
source§impl Builder
impl Builder
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 creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that indicates when the first alert transition occurred in an alert history. An alert transition can be from status InAlert
to OK
, or from OK
to InAlert
.
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 the first alert transition occurred in an alert history. An alert transition can be from status InAlert
to OK
, or from OK
to InAlert
.
sourcepub fn alert_status(self, input: MonitoringAlertStatus) -> Self
pub fn alert_status(self, input: MonitoringAlertStatus) -> Self
The current alert 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 alert status of an alert.
sourcepub fn build(self) -> MonitoringAlertHistorySummary
pub fn build(self) -> MonitoringAlertHistorySummary
Consumes the builder and constructs a MonitoringAlertHistorySummary
.