#[non_exhaustive]pub struct PipelineActivityBuilder { /* private fields */ }
Expand description
A builder for PipelineActivity
.
Implementations§
source§impl PipelineActivityBuilder
impl PipelineActivityBuilder
sourcepub fn channel(self, input: ChannelActivity) -> Self
pub fn channel(self, input: ChannelActivity) -> Self
Determines the source of the messages to be processed.
sourcepub fn set_channel(self, input: Option<ChannelActivity>) -> Self
pub fn set_channel(self, input: Option<ChannelActivity>) -> Self
Determines the source of the messages to be processed.
sourcepub fn get_channel(&self) -> &Option<ChannelActivity>
pub fn get_channel(&self) -> &Option<ChannelActivity>
Determines the source of the messages to be processed.
sourcepub fn lambda(self, input: LambdaActivity) -> Self
pub fn lambda(self, input: LambdaActivity) -> Self
Runs a Lambda function to modify the message.
sourcepub fn set_lambda(self, input: Option<LambdaActivity>) -> Self
pub fn set_lambda(self, input: Option<LambdaActivity>) -> Self
Runs a Lambda function to modify the message.
sourcepub fn get_lambda(&self) -> &Option<LambdaActivity>
pub fn get_lambda(&self) -> &Option<LambdaActivity>
Runs a Lambda function to modify the message.
sourcepub fn datastore(self, input: DatastoreActivity) -> Self
pub fn datastore(self, input: DatastoreActivity) -> Self
Specifies where to store the processed message data.
sourcepub fn set_datastore(self, input: Option<DatastoreActivity>) -> Self
pub fn set_datastore(self, input: Option<DatastoreActivity>) -> Self
Specifies where to store the processed message data.
sourcepub fn get_datastore(&self) -> &Option<DatastoreActivity>
pub fn get_datastore(&self) -> &Option<DatastoreActivity>
Specifies where to store the processed message data.
sourcepub fn add_attributes(self, input: AddAttributesActivity) -> Self
pub fn add_attributes(self, input: AddAttributesActivity) -> Self
Adds other attributes based on existing attributes in the message.
sourcepub fn set_add_attributes(self, input: Option<AddAttributesActivity>) -> Self
pub fn set_add_attributes(self, input: Option<AddAttributesActivity>) -> Self
Adds other attributes based on existing attributes in the message.
sourcepub fn get_add_attributes(&self) -> &Option<AddAttributesActivity>
pub fn get_add_attributes(&self) -> &Option<AddAttributesActivity>
Adds other attributes based on existing attributes in the message.
sourcepub fn remove_attributes(self, input: RemoveAttributesActivity) -> Self
pub fn remove_attributes(self, input: RemoveAttributesActivity) -> Self
Removes attributes from a message.
sourcepub fn set_remove_attributes(
self,
input: Option<RemoveAttributesActivity>
) -> Self
pub fn set_remove_attributes( self, input: Option<RemoveAttributesActivity> ) -> Self
Removes attributes from a message.
sourcepub fn get_remove_attributes(&self) -> &Option<RemoveAttributesActivity>
pub fn get_remove_attributes(&self) -> &Option<RemoveAttributesActivity>
Removes attributes from a message.
sourcepub fn select_attributes(self, input: SelectAttributesActivity) -> Self
pub fn select_attributes(self, input: SelectAttributesActivity) -> Self
Used to create a new message using only the specified attributes from the original message.
sourcepub fn set_select_attributes(
self,
input: Option<SelectAttributesActivity>
) -> Self
pub fn set_select_attributes( self, input: Option<SelectAttributesActivity> ) -> Self
Used to create a new message using only the specified attributes from the original message.
sourcepub fn get_select_attributes(&self) -> &Option<SelectAttributesActivity>
pub fn get_select_attributes(&self) -> &Option<SelectAttributesActivity>
Used to create a new message using only the specified attributes from the original message.
sourcepub fn filter(self, input: FilterActivity) -> Self
pub fn filter(self, input: FilterActivity) -> Self
Filters a message based on its attributes.
sourcepub fn set_filter(self, input: Option<FilterActivity>) -> Self
pub fn set_filter(self, input: Option<FilterActivity>) -> Self
Filters a message based on its attributes.
sourcepub fn get_filter(&self) -> &Option<FilterActivity>
pub fn get_filter(&self) -> &Option<FilterActivity>
Filters a message based on its attributes.
sourcepub fn math(self, input: MathActivity) -> Self
pub fn math(self, input: MathActivity) -> Self
Computes an arithmetic expression using the message's attributes and adds it to the message.
sourcepub fn set_math(self, input: Option<MathActivity>) -> Self
pub fn set_math(self, input: Option<MathActivity>) -> Self
Computes an arithmetic expression using the message's attributes and adds it to the message.
sourcepub fn get_math(&self) -> &Option<MathActivity>
pub fn get_math(&self) -> &Option<MathActivity>
Computes an arithmetic expression using the message's attributes and adds it to the message.
sourcepub fn device_registry_enrich(self, input: DeviceRegistryEnrichActivity) -> Self
pub fn device_registry_enrich(self, input: DeviceRegistryEnrichActivity) -> Self
Adds data from the IoT device registry to your message.
sourcepub fn set_device_registry_enrich(
self,
input: Option<DeviceRegistryEnrichActivity>
) -> Self
pub fn set_device_registry_enrich( self, input: Option<DeviceRegistryEnrichActivity> ) -> Self
Adds data from the IoT device registry to your message.
sourcepub fn get_device_registry_enrich(
&self
) -> &Option<DeviceRegistryEnrichActivity>
pub fn get_device_registry_enrich( &self ) -> &Option<DeviceRegistryEnrichActivity>
Adds data from the IoT device registry to your message.
sourcepub fn device_shadow_enrich(self, input: DeviceShadowEnrichActivity) -> Self
pub fn device_shadow_enrich(self, input: DeviceShadowEnrichActivity) -> Self
Adds information from the IoT Device Shadow service to a message.
sourcepub fn set_device_shadow_enrich(
self,
input: Option<DeviceShadowEnrichActivity>
) -> Self
pub fn set_device_shadow_enrich( self, input: Option<DeviceShadowEnrichActivity> ) -> Self
Adds information from the IoT Device Shadow service to a message.
sourcepub fn get_device_shadow_enrich(&self) -> &Option<DeviceShadowEnrichActivity>
pub fn get_device_shadow_enrich(&self) -> &Option<DeviceShadowEnrichActivity>
Adds information from the IoT Device Shadow service to a message.
sourcepub fn build(self) -> PipelineActivity
pub fn build(self) -> PipelineActivity
Consumes the builder and constructs a PipelineActivity
.
Trait Implementations§
source§impl Clone for PipelineActivityBuilder
impl Clone for PipelineActivityBuilder
source§fn clone(&self) -> PipelineActivityBuilder
fn clone(&self) -> PipelineActivityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineActivityBuilder
impl Debug for PipelineActivityBuilder
source§impl Default for PipelineActivityBuilder
impl Default for PipelineActivityBuilder
source§fn default() -> PipelineActivityBuilder
fn default() -> PipelineActivityBuilder
source§impl PartialEq for PipelineActivityBuilder
impl PartialEq for PipelineActivityBuilder
source§fn eq(&self, other: &PipelineActivityBuilder) -> bool
fn eq(&self, other: &PipelineActivityBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.