pub struct Builder { /* private fields */ }
Expand description
A builder for UpdatePipeSourceDynamoDbStreamParameters
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> UpdatePipeSourceDynamoDbStreamParameters
pub fn build(self) -> UpdatePipeSourceDynamoDbStreamParameters
Consumes the builder and constructs a UpdatePipeSourceDynamoDbStreamParameters
.