#[non_exhaustive]pub struct StartingEventBatchConditionBuilder { /* private fields */ }Expand description
A builder for StartingEventBatchCondition.
Implementations§
source§impl StartingEventBatchConditionBuilder
impl StartingEventBatchConditionBuilder
sourcepub fn batch_size(self, input: i32) -> Self
pub fn batch_size(self, input: i32) -> Self
Number of events in the batch.
sourcepub fn set_batch_size(self, input: Option<i32>) -> Self
pub fn set_batch_size(self, input: Option<i32>) -> Self
Number of events in the batch.
sourcepub fn get_batch_size(&self) -> &Option<i32>
pub fn get_batch_size(&self) -> &Option<i32>
Number of events in the batch.
sourcepub fn batch_window(self, input: i32) -> Self
pub fn batch_window(self, input: i32) -> Self
Duration of the batch window in seconds.
sourcepub fn set_batch_window(self, input: Option<i32>) -> Self
pub fn set_batch_window(self, input: Option<i32>) -> Self
Duration of the batch window in seconds.
sourcepub fn get_batch_window(&self) -> &Option<i32>
pub fn get_batch_window(&self) -> &Option<i32>
Duration of the batch window in seconds.
sourcepub fn build(self) -> StartingEventBatchCondition
pub fn build(self) -> StartingEventBatchCondition
Consumes the builder and constructs a StartingEventBatchCondition.
Trait Implementations§
source§impl Clone for StartingEventBatchConditionBuilder
impl Clone for StartingEventBatchConditionBuilder
source§fn clone(&self) -> StartingEventBatchConditionBuilder
fn clone(&self) -> StartingEventBatchConditionBuilder
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 StartingEventBatchConditionBuilder
impl Default for StartingEventBatchConditionBuilder
source§fn default() -> StartingEventBatchConditionBuilder
fn default() -> StartingEventBatchConditionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartingEventBatchConditionBuilder
impl PartialEq for StartingEventBatchConditionBuilder
source§fn eq(&self, other: &StartingEventBatchConditionBuilder) -> bool
fn eq(&self, other: &StartingEventBatchConditionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartingEventBatchConditionBuilder
Auto Trait Implementations§
impl Freeze for StartingEventBatchConditionBuilder
impl RefUnwindSafe for StartingEventBatchConditionBuilder
impl Send for StartingEventBatchConditionBuilder
impl Sync for StartingEventBatchConditionBuilder
impl Unpin for StartingEventBatchConditionBuilder
impl UnwindSafe for StartingEventBatchConditionBuilder
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>
Creates a shared type from an unshared type.