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 ==
.