@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendUsersMessageRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SendUsersMessageRequest() |
Modifier and Type | Method and Description |
---|---|
SendUsersMessageRequest |
addContextEntry(String key,
String value) |
SendUsersMessageRequest |
addUsersEntry(String key,
EndpointSendConfiguration value) |
SendUsersMessageRequest |
clearContextEntries()
Removes all the entries added into Context.
|
SendUsersMessageRequest |
clearUsersEntries()
Removes all the entries added into Users.
|
SendUsersMessageRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getContext()
A map of custom attributes to attributes to be attached to the message.
|
DirectMessageConfiguration |
getMessageConfiguration()
Message configuration.
|
Map<String,EndpointSendConfiguration> |
getUsers()
A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContext(Map<String,String> context)
A map of custom attributes to attributes to be attached to the message.
|
void |
setMessageConfiguration(DirectMessageConfiguration messageConfiguration)
Message configuration.
|
void |
setUsers(Map<String,EndpointSendConfiguration> users)
A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the value.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SendUsersMessageRequest |
withContext(Map<String,String> context)
A map of custom attributes to attributes to be attached to the message.
|
SendUsersMessageRequest |
withMessageConfiguration(DirectMessageConfiguration messageConfiguration)
Message configuration.
|
SendUsersMessageRequest |
withUsers(Map<String,EndpointSendConfiguration> users)
A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the value.
|
public Map<String,String> getContext()
public void setContext(Map<String,String> context)
context
- A map of custom attributes to attributes to be attached to the message. This payload is added to the push
notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.public SendUsersMessageRequest withContext(Map<String,String> context)
context
- A map of custom attributes to attributes to be attached to the message. This payload is added to the push
notification's 'data.pinpoint' object or added to the email/sms delivery receipt event attributes.public SendUsersMessageRequest addContextEntry(String key, String value)
public SendUsersMessageRequest clearContextEntries()
public void setMessageConfiguration(DirectMessageConfiguration messageConfiguration)
messageConfiguration
- Message configuration.public DirectMessageConfiguration getMessageConfiguration()
public SendUsersMessageRequest withMessageConfiguration(DirectMessageConfiguration messageConfiguration)
messageConfiguration
- Message configuration.public Map<String,EndpointSendConfiguration> getUsers()
public void setUsers(Map<String,EndpointSendConfiguration> users)
users
- A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the
value.public SendUsersMessageRequest withUsers(Map<String,EndpointSendConfiguration> users)
users
- A map of destination endpoints, with the EndpointId as the key Endpoint Message Configuration as the
value.public SendUsersMessageRequest addUsersEntry(String key, EndpointSendConfiguration value)
public SendUsersMessageRequest clearUsersEntries()
public String toString()
toString
in class Object
Object.toString()
public SendUsersMessageRequest 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.