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 ==.impl StructuralPartialEq for RunPipelineActivityInputBuilder
Auto Trait Implementations§
impl Freeze for RunPipelineActivityInputBuilder
impl RefUnwindSafe for RunPipelineActivityInputBuilder
impl Send for RunPipelineActivityInputBuilder
impl Sync for RunPipelineActivityInputBuilder
impl Unpin for RunPipelineActivityInputBuilder
impl UnwindSafe for RunPipelineActivityInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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