#[non_exhaustive]pub struct UpdatePipeSourceDynamoDbStreamParametersBuilder { /* private fields */ }Expand description
A builder for UpdatePipeSourceDynamoDbStreamParameters.
Implementations§
source§impl UpdatePipeSourceDynamoDbStreamParametersBuilder
impl UpdatePipeSourceDynamoDbStreamParametersBuilder
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 dead_letter_config(self, input: DeadLetterConfig) -> Self
pub fn dead_letter_config(self, input: DeadLetterConfig) -> Self
Define the target queue to send dead-letter queue events to.
sourcepub fn set_dead_letter_config(self, input: Option<DeadLetterConfig>) -> Self
pub fn set_dead_letter_config(self, input: Option<DeadLetterConfig>) -> Self
Define the target queue to send dead-letter queue events to.
sourcepub fn get_dead_letter_config(&self) -> &Option<DeadLetterConfig>
pub fn get_dead_letter_config(&self) -> &Option<DeadLetterConfig>
Define the target queue to send dead-letter queue events to.
sourcepub fn on_partial_batch_item_failure(
self,
input: OnPartialBatchItemFailureStreams,
) -> Self
pub fn on_partial_batch_item_failure( self, input: OnPartialBatchItemFailureStreams, ) -> Self
(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.
sourcepub fn set_on_partial_batch_item_failure(
self,
input: Option<OnPartialBatchItemFailureStreams>,
) -> Self
pub fn set_on_partial_batch_item_failure( self, input: Option<OnPartialBatchItemFailureStreams>, ) -> Self
(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.
sourcepub fn get_on_partial_batch_item_failure(
&self,
) -> &Option<OnPartialBatchItemFailureStreams>
pub fn get_on_partial_batch_item_failure( &self, ) -> &Option<OnPartialBatchItemFailureStreams>
(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the 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 maximum_record_age_in_seconds(self, input: i32) -> Self
pub fn maximum_record_age_in_seconds(self, input: i32) -> Self
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
sourcepub fn set_maximum_record_age_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_record_age_in_seconds(self, input: Option<i32>) -> Self
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
sourcepub fn get_maximum_record_age_in_seconds(&self) -> &Option<i32>
pub fn get_maximum_record_age_in_seconds(&self) -> &Option<i32>
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
sourcepub fn maximum_retry_attempts(self, input: i32) -> Self
pub fn maximum_retry_attempts(self, input: i32) -> Self
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
sourcepub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
pub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
sourcepub fn get_maximum_retry_attempts(&self) -> &Option<i32>
pub fn get_maximum_retry_attempts(&self) -> &Option<i32>
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
sourcepub fn parallelization_factor(self, input: i32) -> Self
pub fn parallelization_factor(self, input: i32) -> Self
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
sourcepub fn set_parallelization_factor(self, input: Option<i32>) -> Self
pub fn set_parallelization_factor(self, input: Option<i32>) -> Self
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
sourcepub fn get_parallelization_factor(&self) -> &Option<i32>
pub fn get_parallelization_factor(&self) -> &Option<i32>
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
sourcepub fn build(self) -> UpdatePipeSourceDynamoDbStreamParameters
pub fn build(self) -> UpdatePipeSourceDynamoDbStreamParameters
Consumes the builder and constructs a UpdatePipeSourceDynamoDbStreamParameters.
Trait Implementations§
source§impl Clone for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl Clone for UpdatePipeSourceDynamoDbStreamParametersBuilder
source§fn clone(&self) -> UpdatePipeSourceDynamoDbStreamParametersBuilder
fn clone(&self) -> UpdatePipeSourceDynamoDbStreamParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl Default for UpdatePipeSourceDynamoDbStreamParametersBuilder
source§fn default() -> UpdatePipeSourceDynamoDbStreamParametersBuilder
fn default() -> UpdatePipeSourceDynamoDbStreamParametersBuilder
source§impl PartialEq for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl PartialEq for UpdatePipeSourceDynamoDbStreamParametersBuilder
source§fn eq(&self, other: &UpdatePipeSourceDynamoDbStreamParametersBuilder) -> bool
fn eq(&self, other: &UpdatePipeSourceDynamoDbStreamParametersBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePipeSourceDynamoDbStreamParametersBuilder
Auto Trait Implementations§
impl Freeze for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl RefUnwindSafe for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl Send for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl Sync for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl Unpin for UpdatePipeSourceDynamoDbStreamParametersBuilder
impl UnwindSafe for UpdatePipeSourceDynamoDbStreamParametersBuilder
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