public static final class CfnTrigger.EventBatchingConditionProperty.Builder
extends java.lang.Object
CfnTrigger.EventBatchingConditionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnTrigger.EventBatchingConditionProperty.Builder |
batchSize(java.lang.Number batchSize)
Sets the value of
CfnTrigger.EventBatchingConditionProperty.getBatchSize() |
CfnTrigger.EventBatchingConditionProperty.Builder |
batchWindow(java.lang.Number batchWindow)
Sets the value of
CfnTrigger.EventBatchingConditionProperty.getBatchWindow() |
CfnTrigger.EventBatchingConditionProperty |
build()
Builds the configured instance.
|
public CfnTrigger.EventBatchingConditionProperty.Builder batchSize(java.lang.Number batchSize)
CfnTrigger.EventBatchingConditionProperty.getBatchSize()
batchSize
- Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires. This parameter is required.this
public CfnTrigger.EventBatchingConditionProperty.Builder batchWindow(java.lang.Number batchWindow)
CfnTrigger.EventBatchingConditionProperty.getBatchWindow()
batchWindow
- Window of time in seconds after which EventBridge event trigger fires.
Window starts when first event is received.this
public CfnTrigger.EventBatchingConditionProperty build()
CfnTrigger.EventBatchingConditionProperty
java.lang.NullPointerException
- if any required attribute was not provided