Interface EndpointSendConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>,SdkBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>,SdkPojo
- Enclosing class:
- EndpointSendConfiguration
public static interface EndpointSendConfiguration.Builder extends SdkPojo, CopyableBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointSendConfiguration.BuilderbodyOverride(String bodyOverride)The body of the message.EndpointSendConfiguration.Buildercontext(Map<String,String> context)A map of custom attributes to attach to the message for the address.EndpointSendConfiguration.BuilderrawContent(String rawContent)The raw, JSON-formatted string to use as the payload for the message.EndpointSendConfiguration.Buildersubstitutions(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.BuildertitleOverride(String titleOverride)The title or subject line of the message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
bodyOverride
EndpointSendConfiguration.Builder bodyOverride(String bodyOverride)
The body of the message. If specified, this value overrides the default message body.
- Parameters:
bodyOverride- The body of the message. If specified, this value overrides the default message body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
EndpointSendConfiguration.Builder context(Map<String,String> context)
A map of custom attributes to attach to the message for the address. Attribute names are case sensitive.
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.
- Parameters:
context- A map of custom attributes to attach to the message for the address. Attribute names are case sensitive.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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawContent
EndpointSendConfiguration.Builder rawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.
- Parameters:
rawContent- The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
substitutions
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
titleOverride
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.
- Parameters:
titleOverride- The title or subject line of the message. If specified, this value overrides the default message title or subject line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-