#[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 ==
.impl StructuralPartialEq for AlarmConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AlarmConfigurationBuilder
impl RefUnwindSafe for AlarmConfigurationBuilder
impl Send for AlarmConfigurationBuilder
impl Sync for AlarmConfigurationBuilder
impl Unpin for AlarmConfigurationBuilder
impl UnwindSafe for AlarmConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more