@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventBatchingCondition extends Object implements Serializable, Cloneable, StructuredPojo
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
Constructor and Description |
---|
EventBatchingCondition() |
Modifier and Type | Method and Description |
---|---|
EventBatchingCondition |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
|
Integer |
getBatchWindow()
Window of time in seconds after which EventBridge event trigger fires.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchSize(Integer batchSize)
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
|
void |
setBatchWindow(Integer batchWindow)
Window of time in seconds after which EventBridge event trigger fires.
|
String |
toString()
Returns a string representation of this object.
|
EventBatchingCondition |
withBatchSize(Integer batchSize)
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
|
EventBatchingCondition |
withBatchWindow(Integer batchWindow)
Window of time in seconds after which EventBridge event trigger fires.
|
public void setBatchSize(Integer batchSize)
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
batchSize
- Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.public Integer getBatchSize()
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
public EventBatchingCondition withBatchSize(Integer batchSize)
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
batchSize
- Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.public void setBatchWindow(Integer batchWindow)
Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
batchWindow
- Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is
received.public Integer getBatchWindow()
Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
public EventBatchingCondition withBatchWindow(Integer batchWindow)
Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
batchWindow
- Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is
received.public String toString()
toString
in class Object
Object.toString()
public EventBatchingCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.