@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
MessageResponse() |
Modifier and Type | Method and Description |
---|---|
MessageResponse |
addEndpointResultEntry(String key,
EndpointMessageResult value) |
MessageResponse |
addResultEntry(String key,
MessageResult value) |
MessageResponse |
clearEndpointResultEntries()
Removes all the entries added into EndpointResult.
|
MessageResponse |
clearResultEntries()
Removes all the entries added into Result.
|
MessageResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
Application id of the message.
|
Map<String,EndpointMessageResult> |
getEndpointResult()
A map containing a multi part response for each address, with the endpointId as the key and the result as the
value.
|
String |
getRequestId()
Original request Id for which this message was delivered.
|
Map<String,MessageResult> |
getResult()
A map containing a multi part response for each address, with the address as the key(Email address, phone number
or push token) and the result as the value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
Application id of the message.
|
void |
setEndpointResult(Map<String,EndpointMessageResult> endpointResult)
A map containing a multi part response for each address, with the endpointId as the key and the result as the
value.
|
void |
setRequestId(String requestId)
Original request Id for which this message was delivered.
|
void |
setResult(Map<String,MessageResult> result)
A map containing a multi part response for each address, with the address as the key(Email address, phone number
or push token) and the result as the value.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MessageResponse |
withApplicationId(String applicationId)
Application id of the message.
|
MessageResponse |
withEndpointResult(Map<String,EndpointMessageResult> endpointResult)
A map containing a multi part response for each address, with the endpointId as the key and the result as the
value.
|
MessageResponse |
withRequestId(String requestId)
Original request Id for which this message was delivered.
|
MessageResponse |
withResult(Map<String,MessageResult> result)
A map containing a multi part response for each address, with the address as the key(Email address, phone number
or push token) and the result as the value.
|
public void setApplicationId(String applicationId)
applicationId
- Application id of the message.public String getApplicationId()
public MessageResponse withApplicationId(String applicationId)
applicationId
- Application id of the message.public Map<String,EndpointMessageResult> getEndpointResult()
public void setEndpointResult(Map<String,EndpointMessageResult> endpointResult)
endpointResult
- A map containing a multi part response for each address, with the endpointId as the key and the result as
the value.public MessageResponse withEndpointResult(Map<String,EndpointMessageResult> endpointResult)
endpointResult
- A map containing a multi part response for each address, with the endpointId as the key and the result as
the value.public MessageResponse addEndpointResultEntry(String key, EndpointMessageResult value)
public MessageResponse clearEndpointResultEntries()
public void setRequestId(String requestId)
requestId
- Original request Id for which this message was delivered.public String getRequestId()
public MessageResponse withRequestId(String requestId)
requestId
- Original request Id for which this message was delivered.public Map<String,MessageResult> getResult()
public void setResult(Map<String,MessageResult> result)
result
- A map containing a multi part response for each address, with the address as the key(Email address, phone
number or push token) and the result as the value.public MessageResponse withResult(Map<String,MessageResult> result)
result
- A map containing a multi part response for each address, with the address as the key(Email address, phone
number or push token) and the result as the value.public MessageResponse addResultEntry(String key, MessageResult value)
public MessageResponse clearResultEntries()
public String toString()
toString
in class Object
Object.toString()
public MessageResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.