public class EventsBatch extends Object implements Serializable
| Constructor and Description |
|---|
EventsBatch() |
| Modifier and Type | Method and Description |
|---|---|
EventsBatch |
addEventsEntry(String key,
Event value)
An object that contains a set of events associated with the endpoint.
|
EventsBatch |
clearEventsEntries()
Removes all the entries added into Events.
|
boolean |
equals(Object obj) |
PublicEndpoint |
getEndpoint()
The PublicEndpoint attached to the EndpointId from the request.
|
Map<String,Event> |
getEvents()
An object that contains a set of events associated with the endpoint.
|
int |
hashCode() |
void |
setEndpoint(PublicEndpoint endpoint)
The PublicEndpoint attached to the EndpointId from the request.
|
void |
setEvents(Map<String,Event> events)
An object that contains a set of events associated with the endpoint.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventsBatch |
withEndpoint(PublicEndpoint endpoint)
The PublicEndpoint attached to the EndpointId from the request.
|
EventsBatch |
withEvents(Map<String,Event> events)
An object that contains a set of events associated with the endpoint.
|
public PublicEndpoint getEndpoint()
public void setEndpoint(PublicEndpoint endpoint)
endpoint - The PublicEndpoint attached to the EndpointId from the
request.public EventsBatch withEndpoint(PublicEndpoint endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint - The PublicEndpoint attached to the EndpointId from the
request.public Map<String,Event> getEvents()
public void setEvents(Map<String,Event> events)
events - An object that contains a set of events associated with the
endpoint.public EventsBatch withEvents(Map<String,Event> events)
Returns a reference to this object so that method calls can be chained together.
events - An object that contains a set of events associated with the
endpoint.public EventsBatch addEventsEntry(String key, Event value)
The method adds a new key-value pair into Events 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 Events.value - The corresponding value of the entry to be added into
Events.public EventsBatch clearEventsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.