public class ItemResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ItemResponse() |
Modifier and Type | Method and Description |
---|---|
ItemResponse |
addEventsItemResponseEntry(java.lang.String key,
EventItemResponse value)
A multipart response object that contains a key and value for each event
ID in the request.
|
ItemResponse |
clearEventsItemResponseEntries()
Removes all the entries added into EventsItemResponse.
|
boolean |
equals(java.lang.Object obj) |
EndpointItemResponse |
getEndpointItemResponse()
The response received after the endpoint was accepted.
|
java.util.Map<java.lang.String,EventItemResponse> |
getEventsItemResponse()
A multipart response object that contains a key and value for each event
ID in the request.
|
int |
hashCode() |
void |
setEndpointItemResponse(EndpointItemResponse endpointItemResponse)
The response received after the endpoint was accepted.
|
void |
setEventsItemResponse(java.util.Map<java.lang.String,EventItemResponse> eventsItemResponse)
A multipart response object that contains a key and value for each event
ID in the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ItemResponse |
withEndpointItemResponse(EndpointItemResponse endpointItemResponse)
The response received after the endpoint was accepted.
|
ItemResponse |
withEventsItemResponse(java.util.Map<java.lang.String,EventItemResponse> eventsItemResponse)
A multipart response object that contains a key and value for each event
ID in the request.
|
public EndpointItemResponse getEndpointItemResponse()
public void setEndpointItemResponse(EndpointItemResponse endpointItemResponse)
endpointItemResponse
- The response received after the endpoint was
accepted.public ItemResponse withEndpointItemResponse(EndpointItemResponse endpointItemResponse)
Returns a reference to this object so that method calls can be chained together.
endpointItemResponse
- The response received after the endpoint was
accepted.public java.util.Map<java.lang.String,EventItemResponse> getEventsItemResponse()
public void setEventsItemResponse(java.util.Map<java.lang.String,EventItemResponse> eventsItemResponse)
eventsItemResponse
- A multipart response object that contains a key
and value for each event ID in the request. In each object,
the event ID is the key, and an EventItemResponse object is
the value.public ItemResponse withEventsItemResponse(java.util.Map<java.lang.String,EventItemResponse> eventsItemResponse)
Returns a reference to this object so that method calls can be chained together.
eventsItemResponse
- A multipart response object that contains a key
and value for each event ID in the request. In each object,
the event ID is the key, and an EventItemResponse object is
the value.public ItemResponse addEventsItemResponseEntry(java.lang.String key, EventItemResponse value)
The method adds a new key-value pair into EventsItemResponse 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 EventsItemResponse.value
- The corresponding value of the entry to be added into
EventsItemResponse.public ItemResponse clearEventsItemResponseEntries()
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.