Struct aws_sdk_iotevents::types::builders::OnExitLifecycleBuilder
source · #[non_exhaustive]pub struct OnExitLifecycleBuilder { /* private fields */ }
Expand description
A builder for OnExitLifecycle
.
Implementations§
source§impl OnExitLifecycleBuilder
impl OnExitLifecycleBuilder
sourcepub fn events(self, input: Event) -> Self
pub fn events(self, input: Event) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
Specifies the actions
that are performed when the state is exited and the condition
is TRUE
.
sourcepub fn set_events(self, input: Option<Vec<Event>>) -> Self
pub fn set_events(self, input: Option<Vec<Event>>) -> Self
Specifies the actions
that are performed when the state is exited and the condition
is TRUE
.
sourcepub fn get_events(&self) -> &Option<Vec<Event>>
pub fn get_events(&self) -> &Option<Vec<Event>>
Specifies the actions
that are performed when the state is exited and the condition
is TRUE
.
sourcepub fn build(self) -> OnExitLifecycle
pub fn build(self) -> OnExitLifecycle
Consumes the builder and constructs a OnExitLifecycle
.
Trait Implementations§
source§impl Clone for OnExitLifecycleBuilder
impl Clone for OnExitLifecycleBuilder
source§fn clone(&self) -> OnExitLifecycleBuilder
fn clone(&self) -> OnExitLifecycleBuilder
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 OnExitLifecycleBuilder
impl Debug for OnExitLifecycleBuilder
source§impl Default for OnExitLifecycleBuilder
impl Default for OnExitLifecycleBuilder
source§fn default() -> OnExitLifecycleBuilder
fn default() -> OnExitLifecycleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OnExitLifecycleBuilder
impl PartialEq for OnExitLifecycleBuilder
source§fn eq(&self, other: &OnExitLifecycleBuilder) -> bool
fn eq(&self, other: &OnExitLifecycleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OnExitLifecycleBuilder
Auto Trait Implementations§
impl Freeze for OnExitLifecycleBuilder
impl RefUnwindSafe for OnExitLifecycleBuilder
impl Send for OnExitLifecycleBuilder
impl Sync for OnExitLifecycleBuilder
impl Unpin for OnExitLifecycleBuilder
impl UnwindSafe for OnExitLifecycleBuilder
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.