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 ==.