Class CfnTrigger.EventBatchingConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTrigger.EventBatchingConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrigger.EventBatchingConditionProperty>
- Enclosing interface:
CfnTrigger.EventBatchingConditionProperty
@Stability(Stable)
public static final class CfnTrigger.EventBatchingConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrigger.EventBatchingConditionProperty>
A builder for
CfnTrigger.EventBatchingConditionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTrigger.EventBatchingConditionProperty.getBatchSize()
batchWindow
(Number batchWindow) Sets the value ofCfnTrigger.EventBatchingConditionProperty.getBatchWindow()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
@Stability(Stable) public CfnTrigger.EventBatchingConditionProperty.Builder batchSize(Number batchSize) Sets the value ofCfnTrigger.EventBatchingConditionProperty.getBatchSize()
- Parameters:
batchSize
- Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires. This parameter is required.- Returns:
this
-
batchWindow
@Stability(Stable) public CfnTrigger.EventBatchingConditionProperty.Builder batchWindow(Number batchWindow) Sets the value ofCfnTrigger.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrigger.EventBatchingConditionProperty>
- Returns:
- a new instance of
CfnTrigger.EventBatchingConditionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-