public class EventsBatch
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EventsBatch() |
Modifier and Type | Method and Description |
---|---|
EventsBatch |
addEventsEntry(java.lang.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(java.lang.Object obj) |
PublicEndpoint |
getEndpoint()
The PublicEndpoint attached to the EndpointId from the request.
|
java.util.Map<java.lang.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(java.util.Map<java.lang.String,Event> events)
An object that contains a set of events associated with the endpoint.
|
java.lang.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(java.util.Map<java.lang.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 java.util.Map<java.lang.String,Event> getEvents()
public void setEvents(java.util.Map<java.lang.String,Event> events)
events
- An object that contains a set of events associated with the
endpoint.public EventsBatch withEvents(java.util.Map<java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.