Struct aws_sdk_iotanalytics::operation::run_pipeline_activity::builders::RunPipelineActivityInputBuilder
source · #[non_exhaustive]pub struct RunPipelineActivityInputBuilder { /* private fields */ }
Expand description
A builder for RunPipelineActivityInput
.
Implementations§
source§impl RunPipelineActivityInputBuilder
impl RunPipelineActivityInputBuilder
sourcepub fn pipeline_activity(self, input: PipelineActivity) -> Self
pub fn pipeline_activity(self, input: PipelineActivity) -> Self
The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
This field is required.sourcepub fn set_pipeline_activity(self, input: Option<PipelineActivity>) -> Self
pub fn set_pipeline_activity(self, input: Option<PipelineActivity>) -> Self
The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
sourcepub fn get_pipeline_activity(&self) -> &Option<PipelineActivity>
pub fn get_pipeline_activity(&self) -> &Option<PipelineActivity>
The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
sourcepub fn payloads(self, input: Blob) -> Self
pub fn payloads(self, input: Blob) -> Self
Appends an item to payloads
.
To override the contents of this collection use set_payloads
.
The sample message payloads on which the pipeline activity is run.
sourcepub fn set_payloads(self, input: Option<Vec<Blob>>) -> Self
pub fn set_payloads(self, input: Option<Vec<Blob>>) -> Self
The sample message payloads on which the pipeline activity is run.
sourcepub fn get_payloads(&self) -> &Option<Vec<Blob>>
pub fn get_payloads(&self) -> &Option<Vec<Blob>>
The sample message payloads on which the pipeline activity is run.
sourcepub fn build(self) -> Result<RunPipelineActivityInput, BuildError>
pub fn build(self) -> Result<RunPipelineActivityInput, BuildError>
Consumes the builder and constructs a RunPipelineActivityInput
.
source§impl RunPipelineActivityInputBuilder
impl RunPipelineActivityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RunPipelineActivityOutput, SdkError<RunPipelineActivityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RunPipelineActivityOutput, SdkError<RunPipelineActivityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RunPipelineActivityInputBuilder
impl Clone for RunPipelineActivityInputBuilder
source§fn clone(&self) -> RunPipelineActivityInputBuilder
fn clone(&self) -> RunPipelineActivityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RunPipelineActivityInputBuilder
impl Default for RunPipelineActivityInputBuilder
source§fn default() -> RunPipelineActivityInputBuilder
fn default() -> RunPipelineActivityInputBuilder
source§impl PartialEq for RunPipelineActivityInputBuilder
impl PartialEq for RunPipelineActivityInputBuilder
source§fn eq(&self, other: &RunPipelineActivityInputBuilder) -> bool
fn eq(&self, other: &RunPipelineActivityInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.