Struct aws_sdk_ssm::model::alarm_configuration::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AlarmConfiguration
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more