@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventsRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a batch of events to process.
Constructor and Description |
---|
EventsRequest() |
Modifier and Type | Method and Description |
---|---|
EventsRequest |
addBatchItemEntry(String key,
EventsBatch value)
Add a single BatchItem entry
|
EventsRequest |
clearBatchItemEntries()
Removes all the entries added into BatchItem.
|
EventsRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,EventsBatch> |
getBatchItem()
The batch of events to process.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchItem(Map<String,EventsBatch> batchItem)
The batch of events to process.
|
String |
toString()
Returns a string representation of this object.
|
EventsRequest |
withBatchItem(Map<String,EventsBatch> batchItem)
The batch of events to process.
|
public Map<String,EventsBatch> getBatchItem()
The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an EventsBatch object as its value.
public void setBatchItem(Map<String,EventsBatch> batchItem)
The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an EventsBatch object as its value.
batchItem
- The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an
EventsBatch object as its value.public EventsRequest withBatchItem(Map<String,EventsBatch> batchItem)
The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an EventsBatch object as its value.
batchItem
- The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an
EventsBatch object as its value.public EventsRequest addBatchItemEntry(String key, EventsBatch value)
public EventsRequest clearBatchItemEntries()
public String toString()
toString
in class Object
Object.toString()
public EventsRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.