public class SendUsersMessageResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SendUsersMessageResponse() |
Modifier and Type | Method and Description |
---|---|
SendUsersMessageResponse |
addResultEntry(java.lang.String key,
java.util.Map<java.lang.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(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The unique ID of the Amazon Pinpoint project used to send the message.
|
java.lang.String |
getRequestId()
The unique ID assigned to the users-messages request.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,EndpointMessageResult>> |
getResult()
An object that shows the endpoints that were messaged for each user.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The unique ID of the Amazon Pinpoint project used to send the message.
|
void |
setRequestId(java.lang.String requestId)
The unique ID assigned to the users-messages request.
|
void |
setResult(java.util.Map<java.lang.String,java.util.Map<java.lang.String,EndpointMessageResult>> result)
An object that shows the endpoints that were messaged for each user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendUsersMessageResponse |
withApplicationId(java.lang.String applicationId)
The unique ID of the Amazon Pinpoint project used to send the message.
|
SendUsersMessageResponse |
withRequestId(java.lang.String requestId)
The unique ID assigned to the users-messages request.
|
SendUsersMessageResponse |
withResult(java.util.Map<java.lang.String,java.util.Map<java.lang.String,EndpointMessageResult>> result)
An object that shows the endpoints that were messaged for each user.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The unique ID of the Amazon Pinpoint project used to
send the message.public SendUsersMessageResponse withApplicationId(java.lang.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 java.lang.String getRequestId()
public void setRequestId(java.lang.String requestId)
requestId
- The unique ID assigned to the users-messages request.public SendUsersMessageResponse withRequestId(java.lang.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 java.util.Map<java.lang.String,java.util.Map<java.lang.String,EndpointMessageResult>> getResult()
public void setResult(java.util.Map<java.lang.String,java.util.Map<java.lang.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(java.util.Map<java.lang.String,java.util.Map<java.lang.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(java.lang.String key, java.util.Map<java.lang.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 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.