#[non_exhaustive]pub struct AlarmConfigurationBuilder { /* private fields */ }
Expand description
A builder for AlarmConfiguration
.
Implementations§
source§impl AlarmConfigurationBuilder
impl AlarmConfigurationBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether the alarm configuration is enabled.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether the alarm configuration is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether the alarm configuration is enabled.
sourcepub fn ignore_poll_alarm_failure(self, input: bool) -> Self
pub fn ignore_poll_alarm_failure(self, input: bool) -> Self
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
-
true
: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch. -
false
: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.
sourcepub fn set_ignore_poll_alarm_failure(self, input: Option<bool>) -> Self
pub fn set_ignore_poll_alarm_failure(self, input: Option<bool>) -> Self
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
-
true
: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch. -
false
: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.
sourcepub fn get_ignore_poll_alarm_failure(&self) -> &Option<bool>
pub fn get_ignore_poll_alarm_failure(&self) -> &Option<bool>
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
-
true
: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch. -
false
: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.
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
.
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
sourcepub fn set_alarms(self, input: Option<Vec<Alarm>>) -> Self
pub fn set_alarms(self, input: Option<Vec<Alarm>>) -> Self
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
sourcepub fn get_alarms(&self) -> &Option<Vec<Alarm>>
pub fn get_alarms(&self) -> &Option<Vec<Alarm>>
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for AlarmConfigurationBuilder
impl PartialEq for AlarmConfigurationBuilder
source§fn eq(&self, other: &AlarmConfigurationBuilder) -> bool
fn eq(&self, other: &AlarmConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.