Struct aws_sdk_iotanalytics::operation::update_pipeline::builders::UpdatePipelineInputBuilder
source · #[non_exhaustive]pub struct UpdatePipelineInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePipelineInput
.
Implementations§
source§impl UpdatePipelineInputBuilder
impl UpdatePipelineInputBuilder
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline to update.
This field is required.sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline to update.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline to update.
sourcepub fn pipeline_activities(self, input: PipelineActivity) -> Self
pub fn pipeline_activities(self, input: PipelineActivity) -> Self
Appends an item to pipeline_activities
.
To override the contents of this collection use set_pipeline_activities
.
A list of PipelineActivity
objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity
objects and must contain both a channel
and a datastore
activity. Each entry in the list must contain only one activity. For example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
sourcepub fn set_pipeline_activities(
self,
input: Option<Vec<PipelineActivity>>
) -> Self
pub fn set_pipeline_activities( self, input: Option<Vec<PipelineActivity>> ) -> Self
A list of PipelineActivity
objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity
objects and must contain both a channel
and a datastore
activity. Each entry in the list must contain only one activity. For example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
sourcepub fn get_pipeline_activities(&self) -> &Option<Vec<PipelineActivity>>
pub fn get_pipeline_activities(&self) -> &Option<Vec<PipelineActivity>>
A list of PipelineActivity
objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity
objects and must contain both a channel
and a datastore
activity. Each entry in the list must contain only one activity. For example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
sourcepub fn build(self) -> Result<UpdatePipelineInput, BuildError>
pub fn build(self) -> Result<UpdatePipelineInput, BuildError>
Consumes the builder and constructs a UpdatePipelineInput
.
source§impl UpdatePipelineInputBuilder
impl UpdatePipelineInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePipelineOutput, SdkError<UpdatePipelineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePipelineInputBuilder
impl Clone for UpdatePipelineInputBuilder
source§fn clone(&self) -> UpdatePipelineInputBuilder
fn clone(&self) -> UpdatePipelineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdatePipelineInputBuilder
impl Debug for UpdatePipelineInputBuilder
source§impl Default for UpdatePipelineInputBuilder
impl Default for UpdatePipelineInputBuilder
source§fn default() -> UpdatePipelineInputBuilder
fn default() -> UpdatePipelineInputBuilder
source§impl PartialEq for UpdatePipelineInputBuilder
impl PartialEq for UpdatePipelineInputBuilder
source§fn eq(&self, other: &UpdatePipelineInputBuilder) -> bool
fn eq(&self, other: &UpdatePipelineInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.