Struct aws_sdk_iotevents::types::builders::AlarmNotificationBuilder
source · #[non_exhaustive]pub struct AlarmNotificationBuilder { /* private fields */ }
Expand description
A builder for AlarmNotification
.
Implementations§
source§impl AlarmNotificationBuilder
impl AlarmNotificationBuilder
sourcepub fn notification_actions(self, input: NotificationAction) -> Self
pub fn notification_actions(self, input: NotificationAction) -> Self
Appends an item to notification_actions
.
To override the contents of this collection use set_notification_actions
.
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
sourcepub fn set_notification_actions(
self,
input: Option<Vec<NotificationAction>>
) -> Self
pub fn set_notification_actions( self, input: Option<Vec<NotificationAction>> ) -> Self
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
sourcepub fn get_notification_actions(&self) -> &Option<Vec<NotificationAction>>
pub fn get_notification_actions(&self) -> &Option<Vec<NotificationAction>>
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
sourcepub fn build(self) -> AlarmNotification
pub fn build(self) -> AlarmNotification
Consumes the builder and constructs a AlarmNotification
.
Trait Implementations§
source§impl Clone for AlarmNotificationBuilder
impl Clone for AlarmNotificationBuilder
source§fn clone(&self) -> AlarmNotificationBuilder
fn clone(&self) -> AlarmNotificationBuilder
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 AlarmNotificationBuilder
impl Debug for AlarmNotificationBuilder
source§impl Default for AlarmNotificationBuilder
impl Default for AlarmNotificationBuilder
source§fn default() -> AlarmNotificationBuilder
fn default() -> AlarmNotificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AlarmNotificationBuilder
impl PartialEq for AlarmNotificationBuilder
source§fn eq(&self, other: &AlarmNotificationBuilder) -> bool
fn eq(&self, other: &AlarmNotificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlarmNotificationBuilder
Auto Trait Implementations§
impl Freeze for AlarmNotificationBuilder
impl RefUnwindSafe for AlarmNotificationBuilder
impl Send for AlarmNotificationBuilder
impl Sync for AlarmNotificationBuilder
impl Unpin for AlarmNotificationBuilder
impl UnwindSafe for AlarmNotificationBuilder
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.