Struct aws_sdk_eventbridge::operation::test_event_pattern::builders::TestEventPatternOutputBuilder
source · #[non_exhaustive]pub struct TestEventPatternOutputBuilder { /* private fields */ }
Expand description
A builder for TestEventPatternOutput
.
Implementations§
source§impl TestEventPatternOutputBuilder
impl TestEventPatternOutputBuilder
sourcepub fn result(self, input: bool) -> Self
pub fn result(self, input: bool) -> Self
Indicates whether the event matches the event pattern.
sourcepub fn set_result(self, input: Option<bool>) -> Self
pub fn set_result(self, input: Option<bool>) -> Self
Indicates whether the event matches the event pattern.
sourcepub fn get_result(&self) -> &Option<bool>
pub fn get_result(&self) -> &Option<bool>
Indicates whether the event matches the event pattern.
sourcepub fn build(self) -> TestEventPatternOutput
pub fn build(self) -> TestEventPatternOutput
Consumes the builder and constructs a TestEventPatternOutput
.
Trait Implementations§
source§impl Clone for TestEventPatternOutputBuilder
impl Clone for TestEventPatternOutputBuilder
source§fn clone(&self) -> TestEventPatternOutputBuilder
fn clone(&self) -> TestEventPatternOutputBuilder
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 Default for TestEventPatternOutputBuilder
impl Default for TestEventPatternOutputBuilder
source§fn default() -> TestEventPatternOutputBuilder
fn default() -> TestEventPatternOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestEventPatternOutputBuilder
impl PartialEq for TestEventPatternOutputBuilder
source§fn eq(&self, other: &TestEventPatternOutputBuilder) -> bool
fn eq(&self, other: &TestEventPatternOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestEventPatternOutputBuilder
Auto Trait Implementations§
impl Freeze for TestEventPatternOutputBuilder
impl RefUnwindSafe for TestEventPatternOutputBuilder
impl Send for TestEventPatternOutputBuilder
impl Sync for TestEventPatternOutputBuilder
impl Unpin for TestEventPatternOutputBuilder
impl UnwindSafe for TestEventPatternOutputBuilder
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.