@Generated(value="software.amazon.awssdk:codegen") public final class EmailMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmailMessage.Builder,EmailMessage>
Specifies the default settings and content for a one-time email message that's sent directly to an endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EmailMessage.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
The body of the email message.
|
static EmailMessage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
feedbackForwardingAddress()
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
|
String |
fromAddress()
The verified email address to send the email message from.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RawEmail |
rawEmail()
The email message, represented as a raw MIME message.
|
List<String> |
replyToAddresses()
The reply-to email address(es) for the email message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EmailMessage.Builder> |
serializableBuilderClass() |
SimpleEmail |
simpleEmail()
The email message, composed of a subject, a text part, and an HTML part.
|
Map<String,List<String>> |
substitutions()
The default message variables to use in the email message.
|
EmailMessage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String body()
The body of the email message.
public String feedbackForwardingAddress()
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
public String fromAddress()
The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.
public RawEmail rawEmail()
The email message, represented as a raw MIME message.
public List<String> replyToAddresses()
The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SimpleEmail simpleEmail()
The email message, composed of a subject, a text part, and an HTML part.
public Map<String,List<String>> substitutions()
The default message variables to use in the email message. You can override the default variables with individual address variables.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EmailMessage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EmailMessage.Builder,EmailMessage>public static EmailMessage.Builder builder()
public static Class<? extends EmailMessage.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.