@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 |
addResultEntry(String key,
MessageResult value) |
MessageResponse |
clearResultEntries()
Removes all the entries added into Result.
|
MessageResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
Application id of the message.
|
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) |
void |
setApplicationId(String applicationId)
Application id of the message.
|
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 |
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 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 ObjectObject.toString()public MessageResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.