Struct aws_sdk_glue::types::builders::EventBatchingConditionBuilder
source · #[non_exhaustive]pub struct EventBatchingConditionBuilder { /* private fields */ }
Expand description
A builder for EventBatchingCondition
.
Implementations§
source§impl EventBatchingConditionBuilder
impl EventBatchingConditionBuilder
sourcepub fn batch_size(self, input: i32) -> Self
pub fn batch_size(self, input: i32) -> Self
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
This field is required.sourcepub fn set_batch_size(self, input: Option<i32>) -> Self
pub fn set_batch_size(self, input: Option<i32>) -> Self
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
sourcepub fn get_batch_size(&self) -> &Option<i32>
pub fn get_batch_size(&self) -> &Option<i32>
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
sourcepub fn batch_window(self, input: i32) -> Self
pub fn batch_window(self, input: i32) -> Self
Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
sourcepub fn set_batch_window(self, input: Option<i32>) -> Self
pub fn set_batch_window(self, input: Option<i32>) -> Self
Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
sourcepub fn get_batch_window(&self) -> &Option<i32>
pub fn get_batch_window(&self) -> &Option<i32>
Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
sourcepub fn build(self) -> Result<EventBatchingCondition, BuildError>
pub fn build(self) -> Result<EventBatchingCondition, BuildError>
Consumes the builder and constructs a EventBatchingCondition
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EventBatchingConditionBuilder
impl Clone for EventBatchingConditionBuilder
source§fn clone(&self) -> EventBatchingConditionBuilder
fn clone(&self) -> EventBatchingConditionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EventBatchingConditionBuilder
impl Default for EventBatchingConditionBuilder
source§fn default() -> EventBatchingConditionBuilder
fn default() -> EventBatchingConditionBuilder
source§impl PartialEq for EventBatchingConditionBuilder
impl PartialEq for EventBatchingConditionBuilder
source§fn eq(&self, other: &EventBatchingConditionBuilder) -> bool
fn eq(&self, other: &EventBatchingConditionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventBatchingConditionBuilder
Auto Trait Implementations§
impl Freeze for EventBatchingConditionBuilder
impl RefUnwindSafe for EventBatchingConditionBuilder
impl Send for EventBatchingConditionBuilder
impl Sync for EventBatchingConditionBuilder
impl Unpin for EventBatchingConditionBuilder
impl UnwindSafe for EventBatchingConditionBuilder
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