#[non_exhaustive]pub struct UpdatePipeSourceKinesisStreamParametersBuilder { /* private fields */ }
Expand description
A builder for UpdatePipeSourceKinesisStreamParameters
.
Implementations§
source§impl UpdatePipeSourceKinesisStreamParametersBuilder
impl UpdatePipeSourceKinesisStreamParametersBuilder
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) -> UpdatePipeSourceKinesisStreamParameters
pub fn build(self) -> UpdatePipeSourceKinesisStreamParameters
Consumes the builder and constructs a UpdatePipeSourceKinesisStreamParameters
.
Trait Implementations§
source§impl Clone for UpdatePipeSourceKinesisStreamParametersBuilder
impl Clone for UpdatePipeSourceKinesisStreamParametersBuilder
source§fn clone(&self) -> UpdatePipeSourceKinesisStreamParametersBuilder
fn clone(&self) -> UpdatePipeSourceKinesisStreamParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdatePipeSourceKinesisStreamParametersBuilder
impl Default for UpdatePipeSourceKinesisStreamParametersBuilder
source§fn default() -> UpdatePipeSourceKinesisStreamParametersBuilder
fn default() -> UpdatePipeSourceKinesisStreamParametersBuilder
source§impl PartialEq for UpdatePipeSourceKinesisStreamParametersBuilder
impl PartialEq for UpdatePipeSourceKinesisStreamParametersBuilder
source§fn eq(&self, other: &UpdatePipeSourceKinesisStreamParametersBuilder) -> bool
fn eq(&self, other: &UpdatePipeSourceKinesisStreamParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.