@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendUsersMessageResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about which users and endpoints a message was sent to.
Constructor and Description |
---|
SendUsersMessageResponse() |
Modifier and Type | Method and Description |
---|---|
SendUsersMessageResponse |
addResultEntry(String key,
Map<String,EndpointMessageResult> value)
Add a single Result entry
|
SendUsersMessageResponse |
clearResultEntries()
Removes all the entries added into Result.
|
SendUsersMessageResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application that was used to send the message.
|
String |
getRequestId()
The unique identifier that was assigned to the message request.
|
Map<String,Map<String,EndpointMessageResult>> |
getResult()
An object that indicates which endpoints the message was sent to, for each user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setApplicationId(String applicationId)
The unique identifier for the application that was used to send the message.
|
void |
setRequestId(String requestId)
The unique identifier that was assigned to the message request.
|
void |
setResult(Map<String,Map<String,EndpointMessageResult>> result)
An object that indicates which endpoints the message was sent to, for each user.
|
String |
toString()
Returns a string representation of this object.
|
SendUsersMessageResponse |
withApplicationId(String applicationId)
The unique identifier for the application that was used to send the message.
|
SendUsersMessageResponse |
withRequestId(String requestId)
The unique identifier that was assigned to the message request.
|
SendUsersMessageResponse |
withResult(Map<String,Map<String,EndpointMessageResult>> result)
An object that indicates which endpoints the message was sent to, for each user.
|
public void setApplicationId(String applicationId)
The unique identifier for the application that was used to send the message.
applicationId
- The unique identifier for the application that was used to send the message.public String getApplicationId()
The unique identifier for the application that was used to send the message.
public SendUsersMessageResponse withApplicationId(String applicationId)
The unique identifier for the application that was used to send the message.
applicationId
- The unique identifier for the application that was used to send the message.public void setRequestId(String requestId)
The unique identifier that was assigned to the message request.
requestId
- The unique identifier that was assigned to the message request.public String getRequestId()
The unique identifier that was assigned to the message request.
public SendUsersMessageResponse withRequestId(String requestId)
The unique identifier that was assigned to the message request.
requestId
- The unique identifier that was assigned to the message request.public Map<String,Map<String,EndpointMessageResult>> getResult()
An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.
public void setResult(Map<String,Map<String,EndpointMessageResult>> result)
An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.
result
- An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs
and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it
provides an EndpointMessageResult object.public SendUsersMessageResponse withResult(Map<String,Map<String,EndpointMessageResult>> result)
An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.
result
- An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs
and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it
provides an EndpointMessageResult object.public SendUsersMessageResponse addResultEntry(String key, Map<String,EndpointMessageResult> value)
public SendUsersMessageResponse clearResultEntries()
public String toString()
toString
in class Object
Object.toString()
public SendUsersMessageResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.