public static interface EndpointSendConfiguration.Builder extends CopyableBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>
Modifier and Type | Method and Description |
---|---|
EndpointSendConfiguration.Builder |
bodyOverride(String bodyOverride)
Body override.
|
EndpointSendConfiguration.Builder |
context(Map<String,String> context)
A map of custom attributes to attributes to be attached to the message for this address.
|
EndpointSendConfiguration.Builder |
rawContent(String rawContent)
The Raw JSON formatted string to be used as the payload.
|
EndpointSendConfiguration.Builder |
substitutions(Map<String,? extends Collection<String>> substitutions)
A map of substitution values for the message to be merged with the DefaultMessage's substitutions.
|
EndpointSendConfiguration.Builder |
titleOverride(String titleOverride)
Title override.
|
copy
applyMutation, build
EndpointSendConfiguration.Builder bodyOverride(String bodyOverride)
bodyOverride
- Body override. If specified will override default body.EndpointSendConfiguration.Builder context(Map<String,String> context)
context
- A map of custom attributes to attributes to be attached to the message for this address. This payload
is added to the push notification's 'data.pinpoint' object or added to the email/sms delivery receipt
event attributes.EndpointSendConfiguration.Builder rawContent(String rawContent)
rawContent
- The Raw JSON formatted string to be used as the payload. This value overrides the message.EndpointSendConfiguration.Builder substitutions(Map<String,? extends Collection<String>> substitutions)
substitutions
- A map of substitution values for the message to be merged with the DefaultMessage's substitutions.
Substitutions on this map take precedence over the all other substitutions.EndpointSendConfiguration.Builder titleOverride(String titleOverride)
titleOverride
- Title override. If specified will override default title if applicable.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.