@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartingEventBatchCondition extends Object implements Serializable, Cloneable, StructuredPojo
The batch condition that started the workflow run. Either the number of events in the batch size arrived, in which case the BatchSize member is non-zero, or the batch window expired, in which case the BatchWindow member is non-zero.
Constructor and Description |
---|
StartingEventBatchCondition() |
Modifier and Type | Method and Description |
---|---|
StartingEventBatchCondition |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
Number of events in the batch.
|
Integer |
getBatchWindow()
Duration of the batch window in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchSize(Integer batchSize)
Number of events in the batch.
|
void |
setBatchWindow(Integer batchWindow)
Duration of the batch window in seconds.
|
String |
toString()
Returns a string representation of this object.
|
StartingEventBatchCondition |
withBatchSize(Integer batchSize)
Number of events in the batch.
|
StartingEventBatchCondition |
withBatchWindow(Integer batchWindow)
Duration of the batch window in seconds.
|
public void setBatchSize(Integer batchSize)
Number of events in the batch.
batchSize
- Number of events in the batch.public Integer getBatchSize()
Number of events in the batch.
public StartingEventBatchCondition withBatchSize(Integer batchSize)
Number of events in the batch.
batchSize
- Number of events in the batch.public void setBatchWindow(Integer batchWindow)
Duration of the batch window in seconds.
batchWindow
- Duration of the batch window in seconds.public Integer getBatchWindow()
Duration of the batch window in seconds.
public StartingEventBatchCondition withBatchWindow(Integer batchWindow)
Duration of the batch window in seconds.
batchWindow
- Duration of the batch window in seconds.public String toString()
toString
in class Object
Object.toString()
public StartingEventBatchCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.