public class EventsRequest
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
EventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
EventsRequest |
addBatchItemEntry(java.lang.String key,
EventsBatch value)
A batch of events to process.
|
EventsRequest |
clearBatchItemEntries()
Removes all the entries added into BatchItem.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,EventsBatch> |
getBatchItem()
A batch of events to process.
|
int |
hashCode() |
void |
setBatchItem(java.util.Map<java.lang.String,EventsBatch> batchItem)
A batch of events to process.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventsRequest |
withBatchItem(java.util.Map<java.lang.String,EventsBatch> batchItem)
A batch of events to process.
|
public java.util.Map<java.lang.String,EventsBatch> getBatchItem()
public void setBatchItem(java.util.Map<java.lang.String,EventsBatch> batchItem)
batchItem - A batch of events to process. Each BatchItem consists of
an endpoint ID as the key, and an EventsBatch object as the
value.public EventsRequest withBatchItem(java.util.Map<java.lang.String,EventsBatch> batchItem)
Returns a reference to this object so that method calls can be chained together.
batchItem - A batch of events to process. Each BatchItem consists of
an endpoint ID as the key, and an EventsBatch object as the
value.public EventsRequest addBatchItemEntry(java.lang.String key, EventsBatch value)
The method adds a new key-value pair into BatchItem parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into BatchItem.value - The corresponding value of the entry to be added into
BatchItem.public EventsRequest clearBatchItemEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.