CopyableBuilder<MessageRequest.Builder,MessageRequest>, SdkBuilder<MessageRequest.Builder,MessageRequest>public static interface MessageRequest.Builder extends CopyableBuilder<MessageRequest.Builder,MessageRequest>
| Modifier and Type | Method | Description |
|---|---|---|
MessageRequest.Builder |
addresses(Map<String,AddressConfiguration> addresses) |
A map of destination addresses, with the address as the key(Email address, phone number or push token) and
the Address Configuration as the value.
|
MessageRequest.Builder |
context(Map<String,String> context) |
A map of custom attributes to attributes to be attached to the message.
|
MessageRequest.Builder |
messageConfiguration(DirectMessageConfiguration messageConfiguration) |
Message configuration.
|
copyapply, buildMessageRequest.Builder addresses(Map<String,AddressConfiguration> addresses)
addresses - A map of destination addresses, with the address as the key(Email address, phone number or push token)
and the Address Configuration as the value.MessageRequest.Builder context(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.MessageRequest.Builder messageConfiguration(DirectMessageConfiguration messageConfiguration)
messageConfiguration - Message configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.