Struct aws_sdk_iot::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 put_asset_property_value_entries(
self,
input: PutAssetPropertyValueEntry,
) -> Self
pub fn put_asset_property_value_entries( self, input: PutAssetPropertyValueEntry, ) -> Self
Appends an item to put_asset_property_value_entries.
To override the contents of this collection use set_put_asset_property_value_entries.
A list of asset property value entries.
sourcepub fn set_put_asset_property_value_entries(
self,
input: Option<Vec<PutAssetPropertyValueEntry>>,
) -> Self
pub fn set_put_asset_property_value_entries( self, input: Option<Vec<PutAssetPropertyValueEntry>>, ) -> Self
A list of asset property value entries.
sourcepub fn get_put_asset_property_value_entries(
&self,
) -> &Option<Vec<PutAssetPropertyValueEntry>>
pub fn get_put_asset_property_value_entries( &self, ) -> &Option<Vec<PutAssetPropertyValueEntry>>
A list of asset property value entries.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. ("Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. ("Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. ("Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.
sourcepub fn build(self) -> Result<IotSiteWiseAction, BuildError>
pub fn build(self) -> Result<IotSiteWiseAction, BuildError>
Consumes the builder and constructs a IotSiteWiseAction.
This method will fail if any of the following fields are not set:
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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