public class SendUsersMessageResponse extends Object implements Serializable
| Constructor and Description |
|---|
SendUsersMessageResponse() |
| Modifier and Type | Method and Description |
|---|---|
SendUsersMessageResponse |
addResultEntry(String key,
Map<String,EndpointMessageResult> value)
An object that shows the endpoints that were messaged for each user.
|
SendUsersMessageResponse |
clearResultEntries()
Removes all the entries added into Result.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique ID of the Amazon Pinpoint project used to send the message.
|
String |
getRequestId()
The unique ID assigned to the users-messages request.
|
Map<String,Map<String,EndpointMessageResult>> |
getResult()
An object that shows the endpoints that were messaged for each user.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The unique ID of the Amazon Pinpoint project used to send the message.
|
void |
setRequestId(String requestId)
The unique ID assigned to the users-messages request.
|
void |
setResult(Map<String,Map<String,EndpointMessageResult>> result)
An object that shows the endpoints that were messaged for each user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendUsersMessageResponse |
withApplicationId(String applicationId)
The unique ID of the Amazon Pinpoint project used to send the message.
|
SendUsersMessageResponse |
withRequestId(String requestId)
The unique ID assigned to the users-messages request.
|
SendUsersMessageResponse |
withResult(Map<String,Map<String,EndpointMessageResult>> result)
An object that shows the endpoints that were messaged for each user.
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The unique ID of the Amazon Pinpoint project used to
send the message.public SendUsersMessageResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The unique ID of the Amazon Pinpoint project used to
send the message.public String getRequestId()
public void setRequestId(String requestId)
requestId - The unique ID assigned to the users-messages request.public SendUsersMessageResponse withRequestId(String requestId)
Returns a reference to this object so that method calls can be chained together.
requestId - The unique ID assigned to the users-messages request.public Map<String,Map<String,EndpointMessageResult>> getResult()
public void setResult(Map<String,Map<String,EndpointMessageResult>> result)
result - An object that shows the endpoints that were messaged for
each user. The object provides a list of user IDs. For each
user ID, it provides the endpoint IDs that were messaged. For
each endpoint ID, it provides an EndpointMessageResult object.public SendUsersMessageResponse withResult(Map<String,Map<String,EndpointMessageResult>> result)
Returns a reference to this object so that method calls can be chained together.
result - An object that shows the endpoints that were messaged for
each user. The object provides a list of user IDs. For each
user ID, it provides the endpoint IDs that were messaged. For
each endpoint ID, it provides an EndpointMessageResult object.public SendUsersMessageResponse addResultEntry(String key, Map<String,EndpointMessageResult> value)
The method adds a new key-value pair into Result 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 Result.value - The corresponding value of the entry to be added into
Result.public SendUsersMessageResponse clearResultEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.