@Generated(value="software.amazon.awssdk:codegen") public final class EndpointSendConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>
Specifies the content, including message variables and attributes, to use in a message that's sent directly to an endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EndpointSendConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bodyOverride()
The body of the message.
|
static EndpointSendConfiguration.Builder |
builder() |
Map<String,String> |
context()
A map of custom attributes to attach to the message for the address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
rawContent()
The raw, JSON-formatted string to use as the payload for the message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EndpointSendConfiguration.Builder> |
serializableBuilderClass() |
Map<String,List<String>> |
substitutions()
A map of the message variables to merge with the variables specified for the default message
(DefaultMessage.Substitutions).
|
String |
titleOverride()
The title or subject line of the message.
|
EndpointSendConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String bodyOverride()
The body of the message. If specified, this value overrides the default message body.
public 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String rawContent()
The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides the message.
public Map<String,List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String titleOverride()
The title or subject line of the message. If specified, this value overrides the default message title or subject line.
public EndpointSendConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EndpointSendConfiguration.Builder,EndpointSendConfiguration>public static EndpointSendConfiguration.Builder builder()
public static Class<? extends EndpointSendConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.