#[non_exhaustive]pub struct PipeSourceSqsQueueParametersBuilder { /* private fields */ }Expand description
A builder for PipeSourceSqsQueueParameters.
Implementations§
source§impl PipeSourceSqsQueueParametersBuilder
impl PipeSourceSqsQueueParametersBuilder
sourcepub fn batch_size(self, input: i32) -> Self
pub fn batch_size(self, input: i32) -> Self
The maximum number of records to include in each batch.
sourcepub fn set_batch_size(self, input: Option<i32>) -> Self
pub fn set_batch_size(self, input: Option<i32>) -> Self
The maximum number of records to include in each batch.
sourcepub fn get_batch_size(&self) -> &Option<i32>
pub fn get_batch_size(&self) -> &Option<i32>
The maximum number of records to include in each batch.
sourcepub fn maximum_batching_window_in_seconds(self, input: i32) -> Self
pub fn maximum_batching_window_in_seconds(self, input: i32) -> Self
The maximum length of a time to wait for events.
sourcepub fn set_maximum_batching_window_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_batching_window_in_seconds(self, input: Option<i32>) -> Self
The maximum length of a time to wait for events.
sourcepub fn get_maximum_batching_window_in_seconds(&self) -> &Option<i32>
pub fn get_maximum_batching_window_in_seconds(&self) -> &Option<i32>
The maximum length of a time to wait for events.
sourcepub fn build(self) -> PipeSourceSqsQueueParameters
pub fn build(self) -> PipeSourceSqsQueueParameters
Consumes the builder and constructs a PipeSourceSqsQueueParameters.
Trait Implementations§
source§impl Clone for PipeSourceSqsQueueParametersBuilder
impl Clone for PipeSourceSqsQueueParametersBuilder
source§fn clone(&self) -> PipeSourceSqsQueueParametersBuilder
fn clone(&self) -> PipeSourceSqsQueueParametersBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for PipeSourceSqsQueueParametersBuilder
impl Default for PipeSourceSqsQueueParametersBuilder
source§fn default() -> PipeSourceSqsQueueParametersBuilder
fn default() -> PipeSourceSqsQueueParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PipeSourceSqsQueueParametersBuilder
impl PartialEq for PipeSourceSqsQueueParametersBuilder
source§fn eq(&self, other: &PipeSourceSqsQueueParametersBuilder) -> bool
fn eq(&self, other: &PipeSourceSqsQueueParametersBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipeSourceSqsQueueParametersBuilder
Auto Trait Implementations§
impl Freeze for PipeSourceSqsQueueParametersBuilder
impl RefUnwindSafe for PipeSourceSqsQueueParametersBuilder
impl Send for PipeSourceSqsQueueParametersBuilder
impl Sync for PipeSourceSqsQueueParametersBuilder
impl Unpin for PipeSourceSqsQueueParametersBuilder
impl UnwindSafe for PipeSourceSqsQueueParametersBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.