Struct aws_sdk_iotevents::types::builders::AlarmCapabilitiesBuilder
source · #[non_exhaustive]pub struct AlarmCapabilitiesBuilder { /* private fields */ }
Expand description
A builder for AlarmCapabilities
.
Implementations§
source§impl AlarmCapabilitiesBuilder
impl AlarmCapabilitiesBuilder
sourcepub fn initialization_configuration(
self,
input: InitializationConfiguration
) -> Self
pub fn initialization_configuration( self, input: InitializationConfiguration ) -> Self
Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
sourcepub fn set_initialization_configuration(
self,
input: Option<InitializationConfiguration>
) -> Self
pub fn set_initialization_configuration( self, input: Option<InitializationConfiguration> ) -> Self
Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
sourcepub fn get_initialization_configuration(
&self
) -> &Option<InitializationConfiguration>
pub fn get_initialization_configuration( &self ) -> &Option<InitializationConfiguration>
Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
sourcepub fn acknowledge_flow(self, input: AcknowledgeFlow) -> Self
pub fn acknowledge_flow(self, input: AcknowledgeFlow) -> Self
Specifies whether to get notified for alarm state changes.
sourcepub fn set_acknowledge_flow(self, input: Option<AcknowledgeFlow>) -> Self
pub fn set_acknowledge_flow(self, input: Option<AcknowledgeFlow>) -> Self
Specifies whether to get notified for alarm state changes.
sourcepub fn get_acknowledge_flow(&self) -> &Option<AcknowledgeFlow>
pub fn get_acknowledge_flow(&self) -> &Option<AcknowledgeFlow>
Specifies whether to get notified for alarm state changes.
sourcepub fn build(self) -> AlarmCapabilities
pub fn build(self) -> AlarmCapabilities
Consumes the builder and constructs a AlarmCapabilities
.
Trait Implementations§
source§impl Clone for AlarmCapabilitiesBuilder
impl Clone for AlarmCapabilitiesBuilder
source§fn clone(&self) -> AlarmCapabilitiesBuilder
fn clone(&self) -> AlarmCapabilitiesBuilder
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 AlarmCapabilitiesBuilder
impl Debug for AlarmCapabilitiesBuilder
source§impl Default for AlarmCapabilitiesBuilder
impl Default for AlarmCapabilitiesBuilder
source§fn default() -> AlarmCapabilitiesBuilder
fn default() -> AlarmCapabilitiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AlarmCapabilitiesBuilder
impl PartialEq for AlarmCapabilitiesBuilder
source§fn eq(&self, other: &AlarmCapabilitiesBuilder) -> bool
fn eq(&self, other: &AlarmCapabilitiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlarmCapabilitiesBuilder
Auto Trait Implementations§
impl Freeze for AlarmCapabilitiesBuilder
impl RefUnwindSafe for AlarmCapabilitiesBuilder
impl Send for AlarmCapabilitiesBuilder
impl Sync for AlarmCapabilitiesBuilder
impl Unpin for AlarmCapabilitiesBuilder
impl UnwindSafe for AlarmCapabilitiesBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.