Struct aws_sdk_ssm::model::alarm_configuration::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AlarmConfiguration.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ignore_poll_alarm_failure(self, input: bool) -> Self
pub fn ignore_poll_alarm_failure(self, input: bool) -> Self
If you specify true for this value, your automation or command continue to run even if we can't gather information about the state of your CloudWatch alarm. The default value is false.
sourcepub fn set_ignore_poll_alarm_failure(self, input: Option<bool>) -> Self
pub fn set_ignore_poll_alarm_failure(self, input: Option<bool>) -> Self
If you specify true for this value, your automation or command continue to run even if we can't gather information about the state of your CloudWatch alarm. The default value is false.
sourcepub fn alarms(self, input: Alarm) -> Self
pub fn alarms(self, input: Alarm) -> Self
Appends an item to alarms.
To override the contents of this collection use set_alarms.
The name of the CloudWatch alarm specified in the configuration.
sourcepub fn set_alarms(self, input: Option<Vec<Alarm>>) -> Self
pub fn set_alarms(self, input: Option<Vec<Alarm>>) -> Self
The name of the CloudWatch alarm specified in the configuration.
sourcepub fn build(self) -> AlarmConfiguration
pub fn build(self) -> AlarmConfiguration
Consumes the builder and constructs a AlarmConfiguration.