public static interface AddressConfiguration.Builder extends SdkPojo, CopyableBuilder<AddressConfiguration.Builder,AddressConfiguration>
| Modifier and Type | Method and Description |
|---|---|
AddressConfiguration.Builder |
bodyOverride(String bodyOverride)
The message body to use instead of the default message body.
|
AddressConfiguration.Builder |
channelType(ChannelType channelType)
The channel to use when sending the message.
|
AddressConfiguration.Builder |
channelType(String channelType)
The channel to use when sending the message.
|
AddressConfiguration.Builder |
context(Map<String,String> context)
An object that maps custom attributes to attributes for the address and is attached to the message.
|
AddressConfiguration.Builder |
rawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the notification message.
|
AddressConfiguration.Builder |
substitutions(Map<String,? extends Collection<String>> substitutions)
An object that maps variable values for the message.
|
AddressConfiguration.Builder |
titleOverride(String titleOverride)
The message title to use instead of the default message title.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAddressConfiguration.Builder bodyOverride(String bodyOverride)
The message body to use instead of the default message body. This value overrides the default message body.
bodyOverride - The message body to use instead of the default message body. This value overrides the default message
body.AddressConfiguration.Builder channelType(String channelType)
The channel to use when sending the message.
channelType - The channel to use when sending the message.ChannelType,
ChannelTypeAddressConfiguration.Builder channelType(ChannelType channelType)
The channel to use when sending the message.
channelType - The channel to use when sending the message.ChannelType,
ChannelTypeAddressConfiguration.Builder context(Map<String,String> context)
An object that maps custom attributes to attributes for the address and is attached to the message. 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 - An object that maps custom attributes to attributes for the address and is attached to the message.
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.AddressConfiguration.Builder rawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.
rawContent - The raw, JSON-formatted string to use as the payload for the notification message. This value
overrides the message.AddressConfiguration.Builder substitutions(Map<String,? extends Collection<String>> substitutions)
An object that maps variable values for the message. Amazon Pinpoint merges these values with the variable values specified by properties of the DefaultMessage object. The substitutions in this map take precedence over all other substitutions.
substitutions - An object that maps variable values for the message. Amazon Pinpoint merges these values with the
variable values specified by properties of the DefaultMessage object. The substitutions in this map
take precedence over all other substitutions.AddressConfiguration.Builder titleOverride(String titleOverride)
The message title to use instead of the default message title. This value overrides the default message title.
titleOverride - The message title to use instead of the default message title. This value overrides the default
message title.Copyright © 2019. All rights reserved.