Class CfnTriggerPropsMixin.EventBatchingConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTriggerPropsMixin.EventBatchingConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTriggerPropsMixin.EventBatchingConditionProperty>
- Enclosing interface:
CfnTriggerPropsMixin.EventBatchingConditionProperty
@Stability(Stable)
public static final class CfnTriggerPropsMixin.EventBatchingConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTriggerPropsMixin.EventBatchingConditionProperty>
A builder for
CfnTriggerPropsMixin.EventBatchingConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTriggerPropsMixin.EventBatchingConditionProperty.getBatchSize()batchWindow(Number batchWindow) Sets the value ofCfnTriggerPropsMixin.EventBatchingConditionProperty.getBatchWindow()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
@Stability(Stable) public CfnTriggerPropsMixin.EventBatchingConditionProperty.Builder batchSize(Number batchSize) Sets the value ofCfnTriggerPropsMixin.EventBatchingConditionProperty.getBatchSize()- Parameters:
batchSize- Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.- Returns:
this
-
batchWindow
@Stability(Stable) public CfnTriggerPropsMixin.EventBatchingConditionProperty.Builder batchWindow(Number batchWindow) Sets the value ofCfnTriggerPropsMixin.EventBatchingConditionProperty.getBatchWindow()- Parameters:
batchWindow- Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTriggerPropsMixin.EventBatchingConditionProperty>- Returns:
- a new instance of
CfnTriggerPropsMixin.EventBatchingConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-