Struct aws_sdk_ssm::types::builders::AlarmConfigurationBuilder
source · #[non_exhaustive]pub struct AlarmConfigurationBuilder { /* private fields */ }Expand description
A builder for AlarmConfiguration.
Implementations§
source§impl AlarmConfigurationBuilder
impl AlarmConfigurationBuilder
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.
Trait Implementations§
source§impl Clone for AlarmConfigurationBuilder
impl Clone for AlarmConfigurationBuilder
source§fn clone(&self) -> AlarmConfigurationBuilder
fn clone(&self) -> AlarmConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AlarmConfigurationBuilder
impl Debug for AlarmConfigurationBuilder
source§impl Default for AlarmConfigurationBuilder
impl Default for AlarmConfigurationBuilder
source§fn default() -> AlarmConfigurationBuilder
fn default() -> AlarmConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AlarmConfigurationBuilder> for AlarmConfigurationBuilder
impl PartialEq<AlarmConfigurationBuilder> for AlarmConfigurationBuilder
source§fn eq(&self, other: &AlarmConfigurationBuilder) -> bool
fn eq(&self, other: &AlarmConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.