Struct aws_sdk_iotevents::types::builders::AlarmRuleBuilder
source · #[non_exhaustive]pub struct AlarmRuleBuilder { /* private fields */ }
Expand description
A builder for AlarmRule
.
Implementations§
source§impl AlarmRuleBuilder
impl AlarmRuleBuilder
sourcepub fn simple_rule(self, input: SimpleRule) -> Self
pub fn simple_rule(self, input: SimpleRule) -> Self
A rule that compares an input property value to a threshold value with a comparison operator.
sourcepub fn set_simple_rule(self, input: Option<SimpleRule>) -> Self
pub fn set_simple_rule(self, input: Option<SimpleRule>) -> Self
A rule that compares an input property value to a threshold value with a comparison operator.
sourcepub fn get_simple_rule(&self) -> &Option<SimpleRule>
pub fn get_simple_rule(&self) -> &Option<SimpleRule>
A rule that compares an input property value to a threshold value with a comparison operator.
Trait Implementations§
source§impl Clone for AlarmRuleBuilder
impl Clone for AlarmRuleBuilder
source§fn clone(&self) -> AlarmRuleBuilder
fn clone(&self) -> AlarmRuleBuilder
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 AlarmRuleBuilder
impl Debug for AlarmRuleBuilder
source§impl Default for AlarmRuleBuilder
impl Default for AlarmRuleBuilder
source§fn default() -> AlarmRuleBuilder
fn default() -> AlarmRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AlarmRuleBuilder
impl PartialEq for AlarmRuleBuilder
source§fn eq(&self, other: &AlarmRuleBuilder) -> bool
fn eq(&self, other: &AlarmRuleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlarmRuleBuilder
Auto Trait Implementations§
impl Freeze for AlarmRuleBuilder
impl RefUnwindSafe for AlarmRuleBuilder
impl Send for AlarmRuleBuilder
impl Sync for AlarmRuleBuilder
impl Unpin for AlarmRuleBuilder
impl UnwindSafe for AlarmRuleBuilder
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.