public static interface EndpointSendConfiguration.Builder extends SdkPojo, CopyableBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>
Modifier and Type | Method and Description |
---|---|
EndpointSendConfiguration.Builder |
bodyOverride(String bodyOverride)
The body of the message.
|
EndpointSendConfiguration.Builder |
context(Map<String,String> context)
A map of custom attributes to attach to the message for the address.
|
EndpointSendConfiguration.Builder |
rawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the message.
|
EndpointSendConfiguration.Builder |
substitutions(Map<String,? extends Collection<String>> substitutions)
A map of the message variables to merge with the variables specified for the default message
(DefaultMessage.Substitutions).
|
EndpointSendConfiguration.Builder |
titleOverride(String titleOverride)
The title or subject line of the message.
|
copy
applyMutation, build
EndpointSendConfiguration.Builder bodyOverride(String bodyOverride)
The body of the message. If specified, this value overrides the default message body.
bodyOverride
- The body of the message. If specified, this value overrides the default message body.EndpointSendConfiguration.Builder context(Map<String,String> context)
A map of custom attributes to attach to the message for the address. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
context
- A map of custom attributes to attach to the message for the address. For a push notification, this
payload is added to the data.pinpoint object. For an email or text message, this payload is added to
email/SMS delivery receipt event attributes.EndpointSendConfiguration.Builder rawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides the message.
rawContent
- The raw, JSON-formatted string to use as the payload for the message. If specified, this value
overrides the message.EndpointSendConfiguration.Builder substitutions(Map<String,? extends Collection<String>> substitutions)
A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.
substitutions
- A map of the message variables to merge with the variables specified for the default message
(DefaultMessage.Substitutions). The variables specified in this map take precedence over all other
variables.EndpointSendConfiguration.Builder titleOverride(String titleOverride)
The title or subject line of the message. If specified, this value overrides the default message title or subject line.
titleOverride
- The title or subject line of the message. If specified, this value overrides the default message title
or subject line.Copyright © 2019. All rights reserved.