public class PutEventsRequest extends AmazonWebServiceRequest implements Serializable
| Constructor and Description |
|---|
PutEventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutEventsRequest |
addBatchItemEntry(String key,
EventsBatch value)
Batch events to submit
|
PutEventsRequest |
clearBatchItemEntries()
Removes all the entries added into BatchItem.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
Returns the value of the applicationId property for this object.
|
Map<String,EventsBatch> |
getBatchItem()
Batch events to submit
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
Sets the value of applicationId
|
void |
setBatchItem(Map<String,EventsBatch> batchItem)
Batch events to submit
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutEventsRequest |
withApplicationId(String applicationId)
Sets the value of the applicationId property for this object.
|
PutEventsRequest |
withBatchItem(Map<String,EventsBatch> batchItem)
Batch events to submit
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The new value for the applicationId property for
this object.public PutEventsRequest withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The new value for the applicationId property for
this object.public Map<String,EventsBatch> getBatchItem()
public void setBatchItem(Map<String,EventsBatch> batchItem)
batchItem - Batch events to submitpublic PutEventsRequest withBatchItem(Map<String,EventsBatch> batchItem)
Returns a reference to this object so that method calls can be chained together.
batchItem - Batch events to submitpublic PutEventsRequest addBatchItemEntry(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 PutEventsRequest clearBatchItemEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.