public static interface AddressConfiguration.Builder extends CopyableBuilder<AddressConfiguration.Builder,AddressConfiguration>
Modifier and Type | Method and Description |
---|---|
AddressConfiguration.Builder |
bodyOverride(String bodyOverride)
Body override.
|
AddressConfiguration.Builder |
channelType(ChannelType channelType)
The channel type.
|
AddressConfiguration.Builder |
channelType(String channelType)
The channel type.
|
AddressConfiguration.Builder |
context(Map<String,String> context)
A map of custom attributes to attributes to be attached to the message for this address.
|
AddressConfiguration.Builder |
rawContent(String rawContent)
The Raw JSON formatted string to be used as the payload.
|
AddressConfiguration.Builder |
substitutions(Map<String,? extends Collection<String>> substitutions)
A map of substitution values for the message to be merged with the DefaultMessage's substitutions.
|
AddressConfiguration.Builder |
titleOverride(String titleOverride)
Title override.
|
copy
apply, build
AddressConfiguration.Builder bodyOverride(String bodyOverride)
bodyOverride
- Body override. If specified will override default body.AddressConfiguration.Builder channelType(String channelType)
channelType
- The channel type.
Valid values: GCM | APNS | SMS | EMAILChannelType
,
ChannelType
AddressConfiguration.Builder channelType(ChannelType channelType)
channelType
- The channel type.
Valid values: GCM | APNS | SMS | EMAILChannelType
,
ChannelType
AddressConfiguration.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.AddressConfiguration.Builder rawContent(String rawContent)
rawContent
- The Raw JSON formatted string to be used as the payload. This value overrides the message.AddressConfiguration.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.AddressConfiguration.Builder titleOverride(String titleOverride)
titleOverride
- Title override. If specified will override default title if applicable.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.