Struct aws_sdk_iotevents::types::builders::AttributeBuilder
source · #[non_exhaustive]pub struct AttributeBuilder { /* private fields */ }
Expand description
A builder for Attribute
.
Implementations§
source§impl AttributeBuilder
impl AttributeBuilder
sourcepub fn json_path(self, input: impl Into<String>) -> Self
pub fn json_path(self, input: impl Into<String>) -> Self
An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition
expressions used by detectors.
Syntax:
sourcepub fn set_json_path(self, input: Option<String>) -> Self
pub fn set_json_path(self, input: Option<String>) -> Self
An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition
expressions used by detectors.
Syntax:
sourcepub fn get_json_path(&self) -> &Option<String>
pub fn get_json_path(&self) -> &Option<String>
An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition
expressions used by detectors.
Syntax:
Trait Implementations§
source§impl Clone for AttributeBuilder
impl Clone for AttributeBuilder
source§fn clone(&self) -> AttributeBuilder
fn clone(&self) -> AttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttributeBuilder
impl Debug for AttributeBuilder
source§impl Default for AttributeBuilder
impl Default for AttributeBuilder
source§fn default() -> AttributeBuilder
fn default() -> AttributeBuilder
source§impl PartialEq for AttributeBuilder
impl PartialEq for AttributeBuilder
source§fn eq(&self, other: &AttributeBuilder) -> bool
fn eq(&self, other: &AttributeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeBuilder
Auto Trait Implementations§
impl Freeze for AttributeBuilder
impl RefUnwindSafe for AttributeBuilder
impl Send for AttributeBuilder
impl Sync for AttributeBuilder
impl Unpin for AttributeBuilder
impl UnwindSafe for AttributeBuilder
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
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>
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>
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 more