public class EventsResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EventsResponse() |
Modifier and Type | Method and Description |
---|---|
EventsResponse |
addResultsEntry(java.lang.String key,
ItemResponse value)
A map that contains a multipart response for each endpoint.
|
EventsResponse |
clearResultsEntries()
Removes all the entries added into Results.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,ItemResponse> |
getResults()
A map that contains a multipart response for each endpoint.
|
int |
hashCode() |
void |
setResults(java.util.Map<java.lang.String,ItemResponse> results)
A map that contains a multipart response for each endpoint.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventsResponse |
withResults(java.util.Map<java.lang.String,ItemResponse> results)
A map that contains a multipart response for each endpoint.
|
public java.util.Map<java.lang.String,ItemResponse> getResults()
public void setResults(java.util.Map<java.lang.String,ItemResponse> results)
results
- A map that contains a multipart response for each
endpoint. Each item in this object uses the endpoint ID as the
key, and the item response as the value. If no item response
exists, the value can also be one of the following: 202 (if
the request was processed successfully) or 400 (if the payload
was invalid, or required fields were missing).public EventsResponse withResults(java.util.Map<java.lang.String,ItemResponse> results)
Returns a reference to this object so that method calls can be chained together.
results
- A map that contains a multipart response for each
endpoint. Each item in this object uses the endpoint ID as the
key, and the item response as the value. If no item response
exists, the value can also be one of the following: 202 (if
the request was processed successfully) or 400 (if the payload
was invalid, or required fields were missing).public EventsResponse addResultsEntry(java.lang.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 EventsResponse clearResultsEntries()
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.