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 ==
.impl StructuralPartialEq for UpdatePipelineInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePipelineInputBuilder
impl RefUnwindSafe for UpdatePipelineInputBuilder
impl Send for UpdatePipelineInputBuilder
impl Sync for UpdatePipelineInputBuilder
impl Unpin for UpdatePipelineInputBuilder
impl UnwindSafe for UpdatePipelineInputBuilder
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