@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about endpoints and the events that they're associated with.
Constructor and Description |
---|
EventsResponse() |
Modifier and Type | Method and Description |
---|---|
EventsResponse |
addResultsEntry(String key,
ItemResponse value)
Add a single Results entry
|
EventsResponse |
clearResultsEntries()
Removes all the entries added into Results.
|
EventsResponse |
clone() |
boolean |
equals(Object obj) |
Map<String,ItemResponse> |
getResults()
A map that contains a multipart response for each endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResults(Map<String,ItemResponse> results)
A map that contains a multipart response for each endpoint.
|
String |
toString()
Returns a string representation of this object.
|
EventsResponse |
withResults(Map<String,ItemResponse> results)
A map that contains a multipart response for each endpoint.
|
public Map<String,ItemResponse> getResults()
A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.
public void setResults(Map<String,ItemResponse> results)
A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.
results
- A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID
is the key and the item response is the value. If no item response exists, the value can also be one of
the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required
fields were missing.public EventsResponse withResults(Map<String,ItemResponse> results)
A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID is the key and the item response is the value. If no item response exists, the value can also be one of the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required fields were missing.
results
- A map that contains a multipart response for each endpoint. For each item in this object, the endpoint ID
is the key and the item response is the value. If no item response exists, the value can also be one of
the following: 202, the request was processed successfully; or 400, the payload wasn't valid or required
fields were missing.public EventsResponse addResultsEntry(String key, ItemResponse value)
public EventsResponse clearResultsEntries()
public String toString()
toString
in class Object
Object.toString()
public EventsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.