Struct aws_sdk_iotevents::types::builders::IotSiteWiseActionBuilder
source · #[non_exhaustive]pub struct IotSiteWiseActionBuilder { /* private fields */ }
Expand description
A builder for IotSiteWiseAction
.
Implementations§
source§impl IotSiteWiseActionBuilder
impl IotSiteWiseActionBuilder
sourcepub fn entry_id(self, input: impl Into<String>) -> Self
pub fn entry_id(self, input: impl Into<String>) -> Self
A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.
sourcepub fn set_entry_id(self, input: Option<String>) -> Self
pub fn set_entry_id(self, input: Option<String>) -> Self
A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.
sourcepub fn get_entry_id(&self) -> &Option<String>
pub fn get_entry_id(&self) -> &Option<String>
A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.
sourcepub fn asset_id(self, input: impl Into<String>) -> Self
pub fn asset_id(self, input: impl Into<String>) -> Self
The ID of the asset that has the specified property.
sourcepub fn set_asset_id(self, input: Option<String>) -> Self
pub fn set_asset_id(self, input: Option<String>) -> Self
The ID of the asset that has the specified property.
sourcepub fn get_asset_id(&self) -> &Option<String>
pub fn get_asset_id(&self) -> &Option<String>
The ID of the asset that has the specified property.
sourcepub fn property_id(self, input: impl Into<String>) -> Self
pub fn property_id(self, input: impl Into<String>) -> Self
The ID of the asset property.
sourcepub fn set_property_id(self, input: Option<String>) -> Self
pub fn set_property_id(self, input: Option<String>) -> Self
The ID of the asset property.
sourcepub fn get_property_id(&self) -> &Option<String>
pub fn get_property_id(&self) -> &Option<String>
The ID of the asset property.
sourcepub fn property_alias(self, input: impl Into<String>) -> Self
pub fn property_alias(self, input: impl Into<String>) -> Self
The alias of the asset property.
sourcepub fn set_property_alias(self, input: Option<String>) -> Self
pub fn set_property_alias(self, input: Option<String>) -> Self
The alias of the asset property.
sourcepub fn get_property_alias(&self) -> &Option<String>
pub fn get_property_alias(&self) -> &Option<String>
The alias of the asset property.
sourcepub fn property_value(self, input: AssetPropertyValue) -> Self
pub fn property_value(self, input: AssetPropertyValue) -> Self
The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
sourcepub fn set_property_value(self, input: Option<AssetPropertyValue>) -> Self
pub fn set_property_value(self, input: Option<AssetPropertyValue>) -> Self
The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
sourcepub fn get_property_value(&self) -> &Option<AssetPropertyValue>
pub fn get_property_value(&self) -> &Option<AssetPropertyValue>
The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
sourcepub fn build(self) -> IotSiteWiseAction
pub fn build(self) -> IotSiteWiseAction
Consumes the builder and constructs a IotSiteWiseAction
.
Trait Implementations§
source§impl Clone for IotSiteWiseActionBuilder
impl Clone for IotSiteWiseActionBuilder
source§fn clone(&self) -> IotSiteWiseActionBuilder
fn clone(&self) -> IotSiteWiseActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IotSiteWiseActionBuilder
impl Debug for IotSiteWiseActionBuilder
source§impl Default for IotSiteWiseActionBuilder
impl Default for IotSiteWiseActionBuilder
source§fn default() -> IotSiteWiseActionBuilder
fn default() -> IotSiteWiseActionBuilder
source§impl PartialEq for IotSiteWiseActionBuilder
impl PartialEq for IotSiteWiseActionBuilder
source§fn eq(&self, other: &IotSiteWiseActionBuilder) -> bool
fn eq(&self, other: &IotSiteWiseActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IotSiteWiseActionBuilder
Auto Trait Implementations§
impl Freeze for IotSiteWiseActionBuilder
impl RefUnwindSafe for IotSiteWiseActionBuilder
impl Send for IotSiteWiseActionBuilder
impl Sync for IotSiteWiseActionBuilder
impl Unpin for IotSiteWiseActionBuilder
impl UnwindSafe for IotSiteWiseActionBuilder
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