public class PutEventsResult extends Object implements Serializable
| Constructor and Description |
|---|
PutEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
PutEventsResult |
addResultsEntry(String key,
ItemResponse value)
Events submission response.
|
PutEventsResult |
clearResultsEntries()
Removes all the entries added into Results.
|
boolean |
equals(Object obj) |
Map<String,ItemResponse> |
getResults()
Events submission response.
|
int |
hashCode() |
void |
setResults(Map<String,ItemResponse> results)
Events submission response.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutEventsResult |
withResults(Map<String,ItemResponse> results)
Events submission response.
|
public Map<String,ItemResponse> getResults()
public void setResults(Map<String,ItemResponse> results)
results - Events submission response.public PutEventsResult withResults(Map<String,ItemResponse> results)
Returns a reference to this object so that method calls can be chained together.
results - Events submission response.public PutEventsResult addResultsEntry(String key, ItemResponse value)
The method adds a new key-value pair into Results 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 Results.value - The corresponding value of the entry to be added into
Results.public PutEventsResult clearResultsEntries()
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.