Struct aws_sdk_iotanalytics::operation::create_pipeline::builders::CreatePipelineInputBuilder
source · #[non_exhaustive]pub struct CreatePipelineInputBuilder { /* private fields */ }
Expand description
A builder for CreatePipelineInput
.
Implementations§
source§impl CreatePipelineInputBuilder
impl CreatePipelineInputBuilder
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.
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.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline.
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 unctions 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 unctions 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 unctions 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": { ... } }, ... ]
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata which can be used to manage the pipeline.
Metadata which can be used to manage the pipeline.
Metadata which can be used to manage the pipeline.
sourcepub fn build(self) -> Result<CreatePipelineInput, BuildError>
pub fn build(self) -> Result<CreatePipelineInput, BuildError>
Consumes the builder and constructs a CreatePipelineInput
.
source§impl CreatePipelineInputBuilder
impl CreatePipelineInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePipelineInputBuilder
impl Clone for CreatePipelineInputBuilder
source§fn clone(&self) -> CreatePipelineInputBuilder
fn clone(&self) -> CreatePipelineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePipelineInputBuilder
impl Debug for CreatePipelineInputBuilder
source§impl Default for CreatePipelineInputBuilder
impl Default for CreatePipelineInputBuilder
source§fn default() -> CreatePipelineInputBuilder
fn default() -> CreatePipelineInputBuilder
source§impl PartialEq for CreatePipelineInputBuilder
impl PartialEq for CreatePipelineInputBuilder
source§fn eq(&self, other: &CreatePipelineInputBuilder) -> bool
fn eq(&self, other: &CreatePipelineInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePipelineInputBuilder
Auto Trait Implementations§
impl Freeze for CreatePipelineInputBuilder
impl RefUnwindSafe for CreatePipelineInputBuilder
impl Send for CreatePipelineInputBuilder
impl Sync for CreatePipelineInputBuilder
impl Unpin for CreatePipelineInputBuilder
impl UnwindSafe for CreatePipelineInputBuilder
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